Click or drag to resize

XMLDocGetRootTag Function

X#
Get the root tag of an XML document.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax
 FUNCTION XMLDocGetRootTag(
	nDocHandle AS INT64
) AS INT64
Request Example View Source

Parameters

nDocHandle
Type: Int64
Numeric handle of an XML document.

Return Value

Type: Int64
The function returns the numeric handle of an XML document.
Remarks
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.
See Also