hi,
when i try to save an xml i get the following message :
Permission denied.
in a simple script like that:
var doc = new ActiveXObject("msxml2.DOMDocument.4.0");
doc.async = false;
doc.resolveExternals = false;
doc.validateOnParse = false;
// Load an XML file into the DOM instance.
doc.loadXML
(
"<?xml version='1.0'?>\n"
+"<doc title='test'>\n"
+" <page num='1'>\n"
+" <para title='Saved at last'>\n"
+" This XML data is finally saved.\n"
+" </para>\n"
+" </page>\n"
+" <page num='2'>\n"
+" <para>\n"
+" This page is intentionally left blank.\n"
+" </para>\n"
+" </page>\n"
+"</doc>\n"
);
// Save the dom to a file.
doc.save("saved.xml");
name - 24 Nov 2003 09:14 GMT
It is a matter of time.
The final days for this crap will arrive.
> hi,
> when i try to save an xml i get the following message :
[quoted text clipped - 25 lines]
> // Save the dom to a file.
> doc.save("saved.xml");
Joe Fawcett - 24 Nov 2003 09:46 GMT
> hi,
> when i try to save an xml i get the following message :
[quoted text clipped - 25 lines]
> // Save the dom to a file.
> doc.save("saved.xml");
You won't be able to save from a web page to local drive unless security
settings are very low. What context are you running this in?

Signature
Joe (MVP - xml)