DOM Get parent XML element

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2004.2


DOM Get parent XML element (elementRef{; parentElemName{; parentElemValue}}) String

ParameterTypeDescription
elementRefStringXML element reference
parentElemNameStringName of parent XML element
parentElemValueStringValue of parent XML element
Function resultStringParent XML element reference (16 characters)

Description

The DOM Get parent XML element command returns an XML reference to the "parent" of the XML element passed as reference in elementRef. This reference may be used with the other XML parsing commands.

The optional parentElemName and parentElemValue parameters, when passed, receive respectively the name and value of the parent element.

See Also

DOM Get first child XML element, DOM Get last child XML element, DOM Get Root XML element.

System Variables or Sets

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


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next