I\'ve got 2 Questions:
1. I\'ve sarted working around with Linq to XML and i\'m wondering if it is possible to change an XML document via Linq. I mean, is there some
thank you for your answer. everything works fine.
just as completition to my questions the code below shows how to modify a single entry:
string xml = @" ";
StringReader sr = new StringReader(xml);
XDocument d = XDocument.Load(sr);
d.Descendants("record").Where(x => x.Attribute("id").Value == "2").Single().SetAttributeValue("info", "new sample info");