What Is XSL-FO (XSL - Formatting Objects)
This section describes XSL-FO (XSL Formatting Objects), which is is a language that allows you to describe formatting objects as an XML document for visual presentation in different styles.
What is XSL-FO (XSL Formatting Objects)?
XSL-FO is a language that allows you to describe formatting objects
as an XML document for visual presentation in different styles.
Main features of XSL-FO:
- XSL-FO is XML based. All XSL-FO statements are XML elements.
- XSL-FO conceptually uses a tree of area nodes to hold geometric information.
Each area node contains the placement and other rendering attributes of every glyph,
shape, and image.
- XSL-FO documents are rendered by XSL-FO processors in 3 steps:
objectifying - Convert XSL-FO statements into formatting objects to form a formatting object tree;
Refinement - Normalize properties of each formatting object to form a refined formatting object tree;
Construction - Generate the area tree from the refined formatting object tree.
This tutorial book will focus on XSL-FO and its related tools.
Table of Contents
About This Book
►Introduction of XSL-FO
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)
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
Full Version in PDF/ePUB