Progress
Language Reference
GET-DOCUMENT-ELEMENT( ) Method
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
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:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |