Load xml from xml file directly
using System;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
string filename = @"C:\books.xml";
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(filename);
xmlDoc.Save(Console.Out);
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
|