XSL-FO Tutorials - Herong's Tutorial Examples - v2.25, by Herong Yang
What Is XSL (eXtensible Stylesheet Language)
This section describes XSL (eXtensible Stylesheet Language), which is a language introduced as a W3C Recommendation to help users to process XML source documents to be presented in different styles of devices in two steps: transformation and formatting.
What Is XSL (eXtensible Stylesheet Language)? XSL is a language introduced as a W3C Recommendation to help users to process XML source documents to be presented in different styles of devices in two steps:
Below is diagram that illustrates this XSL 2-step process:
More specifically, XSL provides recommendations in 3 areas:
1. Formatting Objects (XSL-FO) - A language allows you to describe formatting objects as an XML document for visual presentation in different styles.
2. Transformation guidelines - A set of recommendations on how to transform XML source document into XSL-FO documents. This should be done by applying XSLT (Extensible Stylesheet Language Transformations) documents on the original XML source document. XSLT is a separate W3C Recommendation.
3. Formatting guidelines - A set of recommendations on how to interpreting XSL-FO documents of formatting objects to produce the final presentation file.
Versions of XSL:
XSL 1.0 - Published on October 15, 2001 XSL 1.1 - Published on December 5, 2006 Roadmap: To be replaced by CSS3-paged
Table of Contents
►What Is XSL (eXtensible Stylesheet Language)
What Is XSLT (XSL Transformations)
What Is XSL-FO (XSL - Formatting Objects)
hello.fo - Sample XSL-FO document
Apache™ FOP (Formatting Objects Processor)
XSL-FO Document Basics and Examples
Block-Level Formatting Objects
Inline-Level Formatting Objects
Including Graphics in XSL-FO document
Floating Blocks - "float" and "footnote"
Hyperlinks, Table of Contents and Indexes
Headers and Footers using "static-content"
Font Attributes and Font Families
Apache FOP Font Configurations