Output from the SaveDOM.js Example

 

This project outputs the following XML file, saved.xml, in the current working directory.

<?xml version="1.0"?>  
<doc title="test">  
  <page num="1">  
    <para title="Saved at last">This XML data is finally saved.</para>  
  </page>  
  <page num="2">  
    <para>This page is intentionally left blank.</para>  
  </page>  
</doc>  

The next topic demonstrates how to perform XSL Transformations using JScript.