Available on Linux, Windows, Neko, macOS
Returns the type of the Xml Node. This should be used before accessing other functions since some might raise an exception if the node type is not correct.
Returns the node value. Only works if the Xml node is not an Element or a Document.
Adds a child node to the Document or Element. One node can only be inside one given node which is indicated by the [parent] property.
Returns an iterator of all child nodes which are Elements. Only works if the current node is an Element or a Document.
Tells if the Element node has a given attribute. Attributes are case-sensitive.
Get the given attribute of an Element node. Returns [null] if not found. Attributes are case-sensitive.
Removes a child from the Document or Element. Returns true if the child was successfuly removed.