Cross-platform Xml API.
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.
A child node can only be inside one given parent node, which is indicated by the
If the child is already inside this Document or Element, it will be moved to the last position among the Document or Element's children.
If the child node was previously inside a different node, it will be moved to this Document or Element.
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.
Set the given attribute value for an Element node. Attributes are case-sensitive.