version 2003
GET XML ELEMENT NAME (elementRef; elementName)
| Parameter | Type | Description | |
| elementRef | String | XML element reference | |
| elementName | Variable | Name of the element |
Description
The GET XML ELEMENT NAME command returns, in the elementName parameter, the name of the XML element designated by elementRef. For more information on XML element names, refer to the Presentation of XML commands section.
Example
This method returns the name of the $xml_Element_Ref element:
C_STRING(16;$xml_Element_Ref) C_TEXT($name) GET XML ELEMENT NAME($xml_Element_Ref;$name)
See also
Get XML element, GET XML ELEMENT VALUE.
System Variables or Sets
If the command has been correctly executed, the system variable OK is set to 1. If an error occurs, it is set to 0.