<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3401" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>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?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> Here is what I did in my Jscript:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><XML ID="domData"
SRC="myFile.xml"></XML></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> // get the XML document object</FONT></DIV>
<DIV><FONT size=2>theXMLDoc = document.all.domData;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>// use DOM interface/method to edit the XML
document</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>// call the save method after all changes are
made</FONT></DIV>
<DIV><FONT size=2> docXML=document.all("domData");<BR>
docXML.save("myFile.xml");</FONT></DIV></BODY></HTML>