XSL Processors

Before we actually download any software, let's talk about what we're getting.

In Chapter 2, we talked a lot about how the browser was transforming the XML. Strictly speaking, that's not true. What actually did the transforming was an XSL processor that worked with the browser to translate the XML code into something the browser could understand.

We did this with a style sheet, and it's important to understand that this gives us an enormous amount of flexibility. For one thing, we can transform our XML into virtually anything, not just HTML. We can transform it into HTML, Scalable Vector Graphics, plain text, or even a different set of XML tags! The trick is to know what we're trying to turn it into at any given moment.

Get XML and Java™ from scratch 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.