DOM GET XML ELEMENT NAME

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

version 2004 (Modified)


DOM GET XML ELEMENT NAME (elementRef; elementName)

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


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