4D v14.3

DOM Get XML element

Home

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

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: 725

The OK variable is changed by the commandThis command modifies the Error system variable

 
HISTORY 

Modified: 4D 2004

 
SEE ALSO 

DOM GET XML ELEMENT VALUE

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)