SxXMLReadAttribute Function

Returns the value of the attribute in the current element.

Arguments

Number Type Compulsory Default Description
1 string Yes Attribute name
2 string Yes Document reference

Argument 1

Name of the attribute to return.

Argument 2

Reference for the document from SxXMLReadDocument .

Returns

Return type: string

The value of the attribute, or empty string if no attribute is found for any reason.