XSLT Basics
XSLT is an XML-based language that describes transformations from XML documents into arbitrary text-based formats (which may or may not be XML). As shown in Figure 5.1, XSLT assumes that three documents are in use: the source document, the XSLT stylesheet document, and the result document. The source document is simply a well-formed XML document that provides the input for the transformation. The stylesheet document is an XML document that uses the XSLT vocabulary for expressing transformation rules. The result document is a text document that is produced by running the source document through the transformations found in the XSLT stylesheet.
Figure 5.1. XSLT architecture
The XSLT stylesheet is an XML document that contains ...
Get Essential XML: Beyond Markup 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.