var doc = XDocument.Load("test.xml"); doc.Root.Element("MONDAY").Attribute("ID").Value = "new value"; doc.Save("test.xml");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)