Click or drag to resize

XMLGetAttribute Function

X#
Get attribute value of an XML tag.

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

Parameters

nTagHandle
Type: Int64
Numeric handle of the XML tag.
cAttributeName
Type: String
Character string containing the name of the tag attribute whose value is searched.

Return Value

Type: String
Returns a string representing the value of a tag attribute or NULL_STRING if no attribute with the given name exists.
Remarks
This function is used to obtain values of individual XML tag attributes by attribute name.
See Also