The DomNode class / om.DomNode methods |
Returns the number of children nodes.
getChildCount() RETURNING result INTEGER
The getChildCount() method returns the number of children nodes in the current node.
This method is typically used to scan the children nodes of a DOM node, with the getChildByIndex() method.
DEFINE parent, child om.DomNode, index INTEGER ... FOR index=1 TO node.getChildCount() LET child = parent.getChildByIndex(index) ... END FOR