[Resolved] Write XMLDocument to xml file
I am having difficulty finding a resource me how to do the following. Direction will be greatly appreciated.
I am using ASP.NET with the 2.0 Framework
I am attempting to save the contents of a dynamically created XMLDocument in ASP.NET to a xml file. Can someone please tell me how to do this or point me in the write direction?
Thanks
Re: Write XMLDocument to xml file
something like this should work for you
VB Code:
XMLDoc.Save(Server.MapPath("./MyFile.xml"))
where XMLDoc is the variable representing your XML Document Object.
Re: Write XMLDocument to xml file
Quote:
Originally Posted by kleinma
something like this should work for you
VB Code:
XMLDoc.Save(Server.MapPath("./MyFile.xml"))
where XMLDoc is the variable representing your XML Document Object.
Wow....it was right under my nose. Thanks!
Re: Write XMLDocument to xml file
no problem. You should mark this thread resolved if your question as been answered ;)