Click or drag to resize

XMLGetChild Function

X#
Get child of XML tag.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax
 FUNCTION XMLGetChild(
	nTagHandle AS INT64,
	cChildTagName AS STRING
) AS INT64
Request Example View Source

Parameters

nTagHandle
Type: Int64
Numeric handle for the XML tag.
cChildTagName
Type: String
The tag name of the child to search.

Return Value

Type: Int64
Returns the numeric handle of the first child matching the specified name, or 0 if no child with the given name exists.
Remarks
This function is used to retrieve the first child tag of an XML tag matching the name specified with the second parameter. The XMLGetChildren() function can be used to obtain ALL child tags having a specific name.
See Also