This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
DOM GET XML ELEMENT NAME
|
DOM GET XML ELEMENT NAME ( elementRef ; elementName ) | ||||||||
Parameter | Type | Description | ||||||
elementRef | String |
![]() |
XML element reference | |||||
elementName | Variable |
![]() |
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. If the elementName variable type is not defined, the text type is used by default.
For more information on XML element names, refer to the Overview of XML DOM Commands section.
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.
DOM Get XML element
DOM GET XML ELEMENT VALUE
DOM SET XML ELEMENT NAME
Product: 4D
Theme: XML DOM
Number:
730
Modified: 4D 2004
4D Language Reference ( 4D v20 R7)