Output
The dynamDOM application outputs an XML data file, dynamDom.xml, in the project's main directory. In addition to this file, you should see the following output in a console window.
Dynamically created DOM: <?xml version="1.0"?> <?xml-stylesheet type='text/xml' href='dom.xsl'?> <!--sample xml file created using XML DOM object.--> <root created="using dom"> <node1>some character data</node1> <node2><![CDATA[<some mark-up text>]]></node2> <node3> <subNode1/> <subNode2/> <subNode3/> </node3> </root> DOM saved to dynamDom.xml
The next topic demonstrates how to query nodes from DOM.