GET-DOCUMENT-ELEMENT( ) methodRetrieves 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:
Applies to:
GET-DOCUMENT-ELEMENT ( x-node-handle )The following example demonstrates the use of GET-DOCUMENT-ELEMENT if hDoc is an X-document and hRoot is an X-noderef:
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |