Progress
Language Reference
GET-PARENT( ) Method
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, this will return the UNKNOWN value (?).
Return Type: LOGICAL Applies To: X-noderef Object handle
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. In that case, it returns the UNKNOWN value (?).
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |