The DomNode class / om.DomNode methods |
Adds an existing node at the end of the list of children in the current node.
The appendChild() method takes an existing om.DomNode element node and adds it at the end of the children of the object node calling the method.
The node must be created before it is passed as parameter to this method, typically, with om.DomDocument.createElement().
DEFINE parent, child om.DomNode ... LET child = mydoc.createElement("Item") CALL parent.appendChild(child)