using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
public class MainClass
{
public static void Main()
{
XmlDocument doc = new XmlDocument();
doc.Load(Application.StartupPath + @"\employees.xml");
Console.WriteLine(doc.DocumentElement.NamespaceURI);
Console.WriteLine(doc.DocumentElement.Prefix);
Console.WriteLine(doc.DocumentElement.LocalName);
}
}
|