This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
DOM Get XML element

DOM Get XML element 


 

DOM Get XML element ( elementRef ; elementName ; index ; elementValue ) -> Function result 
Parameter Type   Description
elementRef  String in XML element reference
elementName  String in Name of element to get
index  Longint in Index number of element to get
elementValue  Variable in Value of the element
Function result  String in XML reference (16 characters)

The DOM Get XML element command returns a reference to the “child” element dependent on the elementName and index parameters.

The value of the element is also returned in the elementValue parameter.

Note: By default, DOM Get XML element is case sensitive regarding the elementName parameter (xml compliance). You can control the case sensitivity of the command using the XML DOM case sensitivity selector of the XML SET OPTIONS command.

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 VALUE
XML SET OPTIONS

 
PROPERTIES 

Product: 4D
Theme: XML DOM
Number: 725

The OK variable is changed by the commandThis command modifies the Error system variableThis command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Modified: 4D 2004
Modified: 4D v16 R4

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)