NUM-CHILDREN attribute
Returns the number of child nodes below the node referred to by a node reference. Attributes are not counted since they are not considered children of a node.
Data type: INTEGER
Access: Readable
Applies to: X-document object handle, X-noderef object handle
The following example demonstrates getting all the child nodes from the XML node referenced by hNoderef using the NUM-CHILDREN attribute:
OpenEdge Release 10.2B
|