using System;
using System.IO;
using System.Xml;
public class Sample
{
public static void Main()
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("" +
"1-111111-11-1 " +
"C# " +
" ");
// Display information on the ISBN element.
XmlElement elem = (XmlElement) doc.DocumentElement.FirstChild;
Console.Write("{0} = {1}", elem.Name, elem.InnerText);
Console.WriteLine("\t namespaceURI=" + elem.NamespaceURI);
}
}