Question: How to save an XML file locally using DOM in IE5?

Jami Kuan jkuan at
Sun Aug 29 11:14:38 BST 1999


I am trying to create a GUI in IE 5 for editing XML documents using the DOM.  After either adding/deleting elements from an XML document, an error is always given when I apply the save method, trying to save a copy of the changed XML file locally.  Could anyone who knows how answer my question, please?

 Here is what I did in my Jscript:

<XML ID="domData" SRC="myFile.xml"></XML>

 // get the XML document object
theXMLDoc = document.all.domData;

// use DOM interface/method to edit the XML document

// call the save method after all changes are made
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Xml-dev mailing list