Chapter 2. XSLT

Now that you have an understanding of the XML language and how to create and read XML documents, the next step is to format those documents. The details for formatting XML documents was originally in a specification called XSL, which stands for eXtensible Style Language. However, because it was taking so long to finish, the W3C divided XSL into two pieces: XSLT (for Transformations) and XSL-FO (for Formatting Objects).

This chapter, and the two that follow, explain how to use XSLT to transform XML documents. The end result might be another XML document or an HTML document. In reality, you can transform an XML document into practically any document type you like. Transforming an XML document means using XSLT to analyze its contents ...

Get XML: Visual QuickStart Guide, Second Edition 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.