MainXMLNode()

Syntax

*Result = MainXMLNode(#XML)
Description
Returns the main XML node of the tree. A valid XML document must have one "main" or "document" node which contains all other nodes. Other than this node, there can only be comments on the first level below the root node. The type of this node is #PB_Xml_Normal.

Return value

Returns a pointer to the main node, or 0 if the tree has no main node. (which happens if the tree is empty or the main node was deleted)

Supported OS

All

<- LoadXML() - XML Index - MoveXMLNode() ->