GET XML ELEMENT NAME

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 2003


GET XML ELEMENT NAME (elementRef; elementName)

ParameterTypeDescription
elementRefStringXML element reference
elementNameVariableName 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.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next