RootXMLNode()

Syntax

Result = RootXMLNode(#XML)
Description
Returns 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.

Parameters

#XML The XML to use.

Return value

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

See Also

XMLNodeType(), MainXMLNode()

Supported OS

All

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