Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## 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.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095