XML_GetAttribute

XML_GetAttribute

%XML_GetAttribute function


Function

The function returns the value of the attribute.

Declaration

TEXT %XML_GetAttribute( INT in element, TEXT in name )

Parameters

element

Handle to parent XML element.

name

Attribute name.

Return value

Value of the XML attribute defined.

Description

The function returns the text value of the defined XML attribute.

Example

TEXT _attrib _attrib := %XML_GetAttribute(_el, "attribute")