The DomNode class / om.DomNode methods |
Load an XML file into the current node.
The loadXml() method takes a file path as parameter and loads the XML content into the current node, by creating a new DOM structure in memory. The method then returns the new created child DOM node.
To hold the reference to the new node, define a variable with the type om.DomNode type.
DEFINE parent, new om.DomNode ... LET new = parent.loadXml("myfile.xml")