Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - MS XMLDOM save method [Thread Next] Re: MS XMLDOM save methodTo: NULL Date: 4/4/2006 1:04:00 PM
kurtrips@g... wrote:
> I am trying to use M$'s XMLDOM's save method but it is doing absolutely
> nothing.
>
> xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
> xmlDoc.async=false;
> xmlDoc.load("bestscores.xml");
> xmlDoc.save('123.xml');
>
> (The code is in Javascript.)
Where do you try to run that script code? Inside of IE save does not
work, you can use it in other host applications like HTAs (HTML
applications), Windows Script Host, ASP however.
See the remarks section in
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/0749c4f1-61fe-4d28-9d29-cd93a76f5475.asp>
where it clearly says that save(string) "is not intended for use from a
secure client, such as Microsoft Internet Explorer."
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
