Related resources for XDocument
  • XML Manipulation In C#6/12/2023 9:08:02 AM. 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.
  • XMLDocument (DOM) and XDocument (LINQ)1/20/2011 2:07:00 PM. 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.
  • Reading XML Attributes using LINQ to XML in Silverlight 11/29/2010 12:30:23 AM. 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.