XPath and XSLT are two powerful technologies that can be put to some fantastic use for querying XML documents and transforming XML documents. We have seen the powerful support offered in .NET for XML document reading, writing, and validating: the System.Xml.Xsl and System.Xml.XPath namespaces further enrich that functionality.
In this chapter, we investigated the following:
The concepts of XSLT and style sheets
XPath expressions
Transforming XML documents into HTML documents by using the XslTransform class and an XSL style sheet
Selecting nodes out of an XML document using XPath expressions
Navigating XML documents using the cursor-based XpathNavigator class