|
-
Jun 22nd, 2006, 10:17 AM
#1
Thread Starter
New Member
[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
Last edited by tinman; Jun 22nd, 2006 at 01:54 PM.
-
Jun 22nd, 2006, 10:56 AM
#2
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.
-
Jun 22nd, 2006, 12:28 PM
#3
Thread Starter
New Member
Re: Write XMLDocument to xml file
 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!
-
Jun 22nd, 2006, 01:21 PM
#4
Re: Write XMLDocument to xml file
no problem. You should mark this thread resolved if your question as been answered
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|