Loading
3 posts about XDocument by 3 contributors.
Know XDocument? Share what you know with developers who are learning it.
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.
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.
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.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article