GET-CHILD( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Retrieves a specific child node of the current node. The first parameter must be a valid X-noderef handle and will refer to the specified child XML node if the method succeeds.
Return type: LOGICAL
Applies to: X-document object handle, X-noderef object handle
Syntax
|
- x-node-handle
- A valid X-noderef handle to use as the child XML node.
- index
- An integer representing the relative number in the node-tree (1 based).
The following code fragment demonstrates getting all the child nodes from the XML node referenced by hNoderef using the GET-CHILD( ) method:
|