4D v13.4

DOM GET XML ELEMENT NAME

Home

 
4D v13.4
DOM GET XML ELEMENT NAME

DOM GET XML ELEMENT NAME 


 

DOM GET XML ELEMENT NAME ( elementRef ; elementName ) 
Parameter Type   Description
elementRef  String in XML element reference
elementName  Variable in Name of the element

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 Overview of XML DOM Commands section.

Example  

This method returns the name of the $xml_Element_Ref element:

 C_TEXT($xml_Element_Ref)
 C_TEXT($name)
 
 DOM GET XML ELEMENT NAME($xml_Element_Ref;$name)

If the command has been correctly executed, the system variable OK is set to 1. If an error occurs, it is set to 0.

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 730

The OK variable is changed by the command

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D 2004

 
SEE ALSO 

DOM Get XML element
DOM GET XML ELEMENT VALUE
DOM SET XML ELEMENT NAME