The DomDocument class / om.DomDocument methods |
Returns the root node element of the DOM document.
getDocumentElement() RETURNING result om.DomNode
The method getDocumentElement() returns the root om.DomNode element node of the DOM document.
To hold the reference to the root node, define a variable with the type om.DomNode type.
DEFINE n om.DomNode LET n = mydoc.getDocumentElement()