PreviousNextIndex

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

Syntax
GET-PARENT( x-node-handle ) 

x-node-handle

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 (?).

hNoderef:GET-PARENT(hNoderefParent) 


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex