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.
Note: Files encoded in UTF-8 can start with the UTF-8 Byte Order Mark (BOM), a
sequence of 
0xEF 0xBB 0xBF bytes, also known as UNICODE U+FEFF.
When reading files, Genero BDL will ignore the UTF-8 BOM, if it is present at the beginning of the
file. This applies to instructions such as LOAD, as well as I/O APIs such as
base.Channel.read() and readLine().Example
DEFINE parent, new om.DomNode
...
LET new = parent.loadXml("myfile.xml")