4D v16.3DOM Get parent XML element |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
DOM Get parent XML element
DOM Get parent XML element
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. When you pass a root element in elementRef, the command returns the "#document" reference. The document node is the parent of a root element. If the command has been executed correctly, the system variable OK is set to 1. Otherwise, it is set to 0.
See also
DOM Get first child XML element
|
PROPERTIES
Product: 4D HISTORY
Created: 4D 2004.2 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||