Output from the LoadXMLFile.js Example
When you run the LoadXMLFile project, you should get the following output:
doc:
<?xml version="1.0"?>
<root>
<node>one</node>
<nodes>
<node>1</node>
<node>2</node>
</nodes>
<node>two</node>
</root>
Next, we'll serialize an XML DOM object to a file.