XMLGetAttribute Function | |
Get attribute value of an XML tag.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax FUNCTION XMLGetAttribute(
nTagHandle AS INT64,
cAttributeName AS STRING
) AS STRING
public static string XMLGetAttribute(
long nTagHandle,
string cAttributeName
)
Request Example
View SourceParameters
- 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:
StringReturns 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