XmlDocument

XmlDocument is an in-memory representation of an XML document.

To save a document, call Save with a filename, Stream, TextWriter, or XmlWriter.


using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Text;
using System.IO;
class Program
{
    static void Main()
    {
        XmlDocument doc = new XmlDocument();
        doc.Load("customer1.xml");
        doc.Save("customer2.xml");

    }
}
ww___w___._j___ava__2__s___._c___o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.