NOTE: This section covers working with XML using System.Xml. See
this section for working with XML using MSXML.
Converting from XmlDocument to XDocument
Converting from XmlDocument to XDocument has a number of benefits, including the ability to use LINQ to XML, use a much cleaner object model, get better name handling with XName and being able to use functional constructors. However, there are a lot of XmlDocuments out there, so what is the best way to convert a XmlDocument to an XDocument?
Frequently Asked Questions on XML in .NET - Part 1
As part of a separate task, the XML team came up with a list of frequently encountered issues in System.XML; mainly points that we felt were interesting because they were the source of a lot of difficulty for our users.
Frequently Asked Questions on XML in .NET - Part 2
This is the next post in our ongoing FAQ series.