From the course: .NET Essentials: LINQ for XML

Query and transform your XML data with LINQ - .NET Tutorial

From the course: .NET Essentials: LINQ for XML

Start my 1-month free trial

Query and transform your XML data with LINQ

- [Walt] Early in the .NET era, Microsoft decided that functional programming concepts should be a part of .NET. The main goal of this initiative was to bring to life a new programming query language, called Language Integrated Query, better known as a LINQ. LINQ can be used to access data coming from many sources. In this course, we'll look at the version of LINQ optimized for querying XML data, known as LINQ to XML. Hey there, I'm Walt Ritscher, and I'm a big fan of LINQ. In this course, we'll look at how to load XML content into the X document and X element classes. We'll see how to walk up and down the XML tree, and get the information we need. Then we'll explore the LINQ query operators, and see how to query the data in the XML. Finally, we look at how to create and edit the XML structure so we can build an XML file in code, or rearrange the XML tree elements. Put on your explorer hat, and let's query your XML data.

Contents