This chapter examined the role of LINQ to XML. As you have seen, this API is an alternative to the initial XML manipulation library which shipped with the .NET platform, System.Xml.dll. Using System.Xml.Linq.dll, you are able to generate new XML documents using a top down approach, where the structure of your code has a striking resemblance to the final XML data. In this light, LINQ to XML is a better DOM. You also learned how to build XDocument and XElement objects in a variety of ways (parsing, loading from file, mapping from in-memory objects) and how to navigate and manipulate data using LINQ queries.