Resources  
  • XMLDocument (DOM) and XDocument (LINQ)Jan 20, 2011. Before LINQ to XML we were used XMLDocument for manipulations in XML like adding attributes, elements and so on. Now LINQ to XML uses XDocument for the same kind of thing. Syntaxes are much easier than XMLDocument and it requires a minimal amount of code.
  • XML Manipulation In C#Dec 12, 2016. This article describes how to add, delete, update, and select nodes in XML in C#. We will use mostly XDocument and XMLDocument class to manipulate XML data.
  • Reading XML Attributes using LINQ to XML in Silverlight Nov 29, 2010. This code snippet demonstrates how to load an XML file and reads its nodes and their attributes in a Silverlight application using LINQ to XML.