[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Question: How to save an XML file locally using DOM in IE5?
- From: "Jami Kuan" <jkuan@i...>
- To: <xml-dev@i...>
- Date: Sun, 29 Aug 1999 02:20:07 -0700
Hi,
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
docXML=document.all("domData");
docXML.save("myFile.xml");
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|