PreviousNextIndex

CHILD-NUM attribute

Returns the relative number assigned to this XML node among its siblings. XML nodes that have the same parent are called siblings, and are numbered from 1 to the number of siblings.

Data type: INTEGER

Access: Readable

Applies to: X-noderef object handle

The Unknown value (?) is returned if the node reference does not refer to an element node, or if the node is an XML document node.

The following example demonstrates the use of the CHILD-NUM attribute:

my-index = hNoderef:CHILD-NUM. 


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex