Blog Planet Wiki
Feed Feed It

.NET Framework XmlDocument

Thursday, March 25, 2004 02:29 PM

This is amazingly easy to read in xml and write it out to a file, check it outthe following code snippet written in C#.

string someXml = "world";XmlDocument dataDoc = new XmlDocument();dataDoc.LoadXml(someXml);dataDoc.Save("C:\\helloworld.xml");

See, cool ain't it?