version 2004 (Modified)
DOM GET XML ELEMENT NAME (elementRef; elementName)
Parameter | Type | Description | |
elementRef | String | XML element reference | |
elementName | Variable | Name of the element |
Description
The DOM 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) DOM GET XML ELEMENT NAME($xml_Element_Ref;$name)
See Also
DOM Get XML element, DOM GET XML ELEMENT VALUE, DOM SET XML ELEMENT NAME.
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.