Results 1 to 4 of 4

Thread: [Resolved] Write XMLDocument to xml file

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    6

    Resolved [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.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Write XMLDocument to xml file

    something like this should work for you
    VB Code:
    1. XMLDoc.Save(Server.MapPath("./MyFile.xml"))
    where XMLDoc is the variable representing your XML Document Object.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    6

    Resolved Re: Write XMLDocument to xml file

    Quote Originally Posted by kleinma
    something like this should work for you
    VB Code:
    1. XMLDoc.Save(Server.MapPath("./MyFile.xml"))
    where XMLDoc is the variable representing your XML Document Object.
    Wow....it was right under my nose. Thanks!

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    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
  •  



Click Here to Expand Forum to Full Width