om.DomNode.loadXml
Load an XML file into the current node.
Syntax
loadXml(
path STRING )
RETURNS om.DomNode
- path is the path to the XML file.
Usage
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
created child DOM node.
To hold the reference to the new node, define a variable with the om.DomNode
type.
Example
DEFINE parent, new om.DomNode
...
LET new = parent.loadXml("myfile.xml")