The DomNode class / om.DomNode methods |
Returns the first child DOM node.
getFirstChild() RETURNING result om.DomNode
The getFirstChild() method returns the first child DOM node in the current node.
This method is typically used to scan children nodes with the getNext() method, until getNext() returns NULL.
DEFINE parent, child om.DomNode ... LET child = parent.getFirstChild() WHILE child IS NOT NULL ... LET child = child.getNext() END WHILE