点击或拖拽改变大小

Functions.XMLDocGetRootTag 方法

X#
Get the root tag of an XML document.

命名空间:  XSharp.XPP
程序集:  XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法
 FUNCTION XMLDocGetRootTag(
	nDocHandle AS INT64
) AS INT64
查看代码

参数

nDocHandle
类型:Int64
Numeric handle of an XML document.

返回值

类型:Int64
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.
参见