<Root><FName>Test</FName><LName>User</LName><DOB>20100606</DOB></Root>
Replace
string
XDocument doc = XDocument.Load("...path to your XML file..."); doc.Root.Element("FName").Name = "FirstName"; doc.Root.Element("LName").Name = "LastName"; doc.Root.Element("DOB").Name = "DateOfBirth";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)