![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XMLDOM.save NOT saving? >Thread Next - Re: XMLDOM.save NOT saving? Re: XMLDOM.save NOT saving?To: NULL Date: 1/3/2005 1:13:00 PM Your xml might be not loaded. For debugging, replace
> xmlDoc.load("test.xml")
with
> xmlDoc.loadXml("<a/>")
Optionally, you may want server.mapPath() for the xml file path.
Additionally, saving xml file in the server is bad idea. Use databases
instead.
--
Pohwan Han. Seoul. Have a nice day.
"Jeff" <Jeff@d...> wrote in message
news:36387C6E-B0E2-467B-AB60-38A65948D97B@m......
> ASP on the serverside will create the file when saving but the file is 0
> bytes.
> I've tried several things including perms. Even went so far as to make
> EVERYONE full access. (just for testing)
> Still doesn't work.
>
> Here's what I'm trying.
>
> <%
> set xmlDoc=Server.CreateObject("Microsoft.XMLDOM")
> xmlDoc.async="false"
> xmlDoc.load("test.xml")
> xmlDoc.save("c:\test.xml")
> %>
>
> Again, c:\test.xml is created but 0btyes.
>
> I'm a newbie so go easy eh?
> thanks,
> j
>
>
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
