comet.CXMLNode

class comet.CXMLNode

Methods

CXMLNode.getName()

Get the name of this node.

Returns

The name of this node

Return type

str

Available

CScript

xmlnode::name

CXMLNode.getType()

Get the type of this node.

Returns

The type of this node

Return type

int

Available

CScript

xmlnode::type

CXMLNode.getPath()

Get the path to this node.

Returns

The path of this node

Return type

int

Available

CScript

xmlnode::path

CXMLNode.getContent()

Get the content of this node.

Returns

The text content of this node

Return type

int

Available

CScript

xmlnode::content

CXMLNode.getChildren()

Get the child nodes of this node.

Returns

The children of this node

Return type

list[CXMLNode]

Available

CScript
CXMLNode.isAttribute()

Get whether this node is defined as an attribute.

Returns

Whether this node is an attribute

Return type

bool

Available

CScript

xmlnode::is_attribute