C# Corner

  • 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#.
  • 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.

About XDocument

Hire a remote developer
Looking to add more bandwidth to your software team? Web Developers, designers, testers are now available on demand. Flexible hours, very competitive rates, expert team and High Quality work.

Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now