GET-PARENT( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Retrieve the parent node of the node. The first parameter must be a valid X-noderef handle and will refer to the parent XML node if the node has a parent. If the node is the top "root" element in the document, the method will fail, and the X-noderef handle will not refer to a node.
Return type: LOGICAL
Applies to: X-noderef object handle
Syntax
|
- x-node-handle
- A valid X-noderef handle to use for the parent XML node.
The following example returns a handle to the parent XML node in hNoderefParent unless the hNoderef is the top "root" element in the hDoc.
|