Summary
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
Get Visual Basic® Programmer's Guide to the .NET Framework Class Library now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.