The DomDocument class / om.DomDocument methods |
Create a new element node in the DOM document.
createElement( tag STRING ) RETURNING result om.DomNode
Use the method createElement() to create a new om.DomNode element node. The tag name of the element must be passed as parameter.
To hold the reference to the new node, define a variable with the type om.DomNode type.
DEFINE n om.DomNode LET n = mydoc.createElement("Car")