GET-DOCUMENT-ELEMENT( ) method
- Last Updated: October 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Retrieves the root element of the document. The parameter must be a valid X-noderef handle and will refer to the document's root element if the method succeeds.
Return type: LOGICAL
Applies to: X-document object handle
Syntax
|
- x-node-handle
- A valid X-noderef handle to use for the root element.
The following example demonstrates the use of GET-DOCUMENT-ELEMENT if hDoc is an X-document and hRoot is an X-noderef:
|