Functions and Directives

Function XMLDocGetRootTag() Professional

Get the root tag of an XML document.

XMLDocGetRootTag( <nDocHandle> ) --> nRootTagHandle
Numeric handle of an XML document.

The function returns the numeric handle of an XML document.


This function returns the root tag of an XML document. The root tag is a tag that is created by the parser as the root node of the XML document tree. i.e. a document has always a root tag, even if the XML file (or string) is empty.

This function provides for the starting point when traversing a document tree. See function XMLGetTag() for more information about an XML tag.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.