Introduction to XSL-FO
Introduction to XSL-FO teaches participants how transform XML documents with XSL to create PDFs. It covers how the Formatting Objects (FO) language works, auto-generating FO documents from XML with XSLT and how to use a Formatting Objects Engine to generate PDF documents from XML.
- Cost: Price on application
- Duration: 2 days
- This course is not available as part of our public schedule but can be provided on a customised client specific basis.
Experience in the following areas is required:
- XML
- XSLT
Experience in the following areas would be beneficial.
- HTML
The purpose of XSL-FO
How XSL-FO Works
- XSL-FO Document Parts
- An XSL-FO Example
- The Root Element: root
- layout-master-set and simple-page-master
- Regions
- page-sequence
- flow and static-content
- block
Static Content
- region-before and region-after
- static-content
Formatting Blocks
- Box Model
- Border
- Space, Indent and Padding
- Background
- A Formatting Example
- Formatting Text
Inline Elements
Inheritance
- wrapper
Creating Lists
- list-block
- list-item
- list-item-label
- list-item-body
Whitespace
Page Masters
Simple Layout
- fo:simple-page-master
- fo:region-body
- fo:region-before, fo:region-after, fo:region-start, and fo:region-end
page-sequence-master
- Creating a Cover Page
- Odd and Even Pages
Blank Pages
- break-before and break-after
Columns
External Links
Graphics
Internal Links
Tying it all Together
Keep Constraints
- keep-with-previous and keep-with-next
- keep-together
Orphans and Widows
The Output
Table of Contents
- Page Numbering
Leaders
Markers
Creating Tables
- fo:table
- fo:table-column
- fo:table-header, fo:table-body, fo:table-footer
- fo:table-row
- fo:table-cell
Footnotes
- xsl-footnote-separator
Floats