4D v16.3

DOM GET XML ELEMENT NAME

Home

 
4D v16.3
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.



See also 

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

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 730

The OK variable is changed by the commandThis command can be run in preemptive processes

 
HISTORY 

Modified: 4D 2004

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)