RootXMLNode()

Syntax

*Result = RootXMLNode(#XML)
Description
Returns a pointer to the root node of the XML tree. This node is always present. It represents the XML document itself. The text contained in this node represents the whitespace outside of any XML node (there can be no text outside of nodes). The children of this node are the main node and any comments outside the main node. The type of this node is #PB_Xml_Root.

Return value

Always returns a valid XML node pointer if #XML is an existing XML tree.

Supported OS

All

<- ResolveXMLNodeName() - XML Index - SaveXML() ->