OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]
  • From: "Jami Kuan" <jkuan@infoserve.net>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sun, 29 Aug 1999 02:20:07 -0700

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS