Chapter 14. XSLT 2.0

XSL, the eXtensible Stylesheet Language, is used to transform XML documents into other documents, such as HTML (see Part 2). It is a family of three languages: XPath for selecting nodes from source documents; XSLT, for transforming those selected nodes; and XSL-FO, a language often used to generate PDFs.

On January 23, 2007, the W3C published eight new XML-centric Recommendations. These Recommendations defined new versions of both XSLT and XPath, as well as a new XML language called XQuery.

Like XSLT, XQuery gives users the ability to query XML data, based on the logical structure of an XML document. In fact, you can do most of the same things with XQuery 1.0 that you can with XSLT 2.0. However, XQuery differs from XSLT 2.0 ...

Get XML: Visual QuickStart Guide, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.