You are previewing LINQ in Action.

LINQ in Action

Cover of LINQ in Action by Fabrice Marguerie... Published by Manning Publications

Chapter 10. Query and transform XML with LINQ to XML

This chapter covers:

  • LINQ to XML query axis methods
  • Querying XML documents using LINQ to XML
  • Transforming XML

Over the last several years, many websites have begun to offer public XML web services that allow developers to access the data inside their site. provides a set of e-commerce web services that allow you to search their product catalog, Flickr lets you grab photographs that people have identified as interesting, and exposes XML feeds that allow you to keep abreast of websites that users have added to their bookmarks. By providing this data to clients as XML, Amazon, Flickr, and have enabled third-party developers to tie into their platforms to ...

The best content for your career. Discover unlimited learning on demand for around $1/day.