Previous Next

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:
Access:
Applies to:
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.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.