XSL-FO Tutorials - Herong's Tutorial Examples
∟Introduction of XSL-FO
This chapter provides tutorial notes and example codes on XSL-FO. Topics include introduction of XSL (eXtensible Stylesheet Language), XSLT (XSL Transformations) and XSL-FO (XSL - Formatting Objects); Sample XSL-FO document.
What Is XSL (eXtensible Stylesheet Language)
What Is XSLT (XSL Transformations)
What Is XSL-FO (XSL - Formatting Objects)
hello.fo - Sample XSL-FO document
Takeaways:
- 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:
transformation and formatting.
- XSLT is a language that allows you to write a
stylesheet as an XML document to describe rules for
transforming a source XML document into a new XML document or a regular text document.
- XSL-FO is a language that allows you to describe formatting objects
as an XML document for visual presentation in different styles.
Table of Contents
About This Book
►Introduction of XSL-FO
Apache™ FOP (Formatting Objects Processor)
RenderX XEP as an XSL-FO Tool
Introduction of Area Model
XSL-FO Document Basics and Examples
Page Layout Masters
Block-Level Formatting Objects
Inline-Level Formatting Objects
Including Graphics in XSL-FO document
Table of Rows and Columns
List, Item, Label, and Body
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
RenderX XEP Font Configurations
Converting HTML to PDF
References
Full Version in PDF/ePUB