using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
public class MainClass
{
public static void Main()
{
XElement root = null;
string path=Application.StartupPath + @"\employees.xml";
root=XElement.Load(path, LoadOptions.None);
MessageBox.Show(root.ToString());
root.Save(path, SaveOptions.None);
//root=XElement.Load(path, LoadOptions.PreserveWhitespace);
//MessageBox.Show(root.ToString());
//root.Save(path, SaveOptions.DisableFormatting);
}
}