Function XMLDocGetRootTag() Professional

Get the root tag of an XML document.

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

The function returns the numeric handle of an XML document.

Description

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.

Feedback

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.