Introduction to XSL-FO (XFO101)
Course Length: 2 days
Delivery Methods:
Available as private class only
Course Overview
Introduction to XSL-FO teaches students how to transform XML documents with XSL to create PDFs.
Course Benefits
- Learn how the Formatting Objects (FO) language works
- Learn to auto-generate FO documents from XML with XSLT
- Learn to use a Formatting Objects Engine to generate PDF documents from XML
Course Outline
- Formatting Objects Basics
- 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
- Blocks and Inlines
- 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
- Formatting Blocks
- Page Layout
- 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
- Links and Graphics
- External Links
- Graphics
- Internal Links
- Tying It All Together: XSL-FO
- Tying it all Together
- Keeps, Orphans, and Widows
- Keep Constraints
- keep-with-previous and keep-with-next
- keep-together
- Orphans and Widows
- Keep Constraints
- Leaders, Markers and Page Numbers
- The Output
- Table of Contents
- Page Numbering
- Leaders
- Markers
- Tables
- Creating Tables
- fo:table
- fo:table-column
- fo:table-header, fo:table-body, fo:table-footer
- fo:table-row
- fo:table-cell
- Creating Tables
- Footnotes and Floats
- Footnotes
- xsl-footnote-separator
- Floats
- Footnotes
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Class Prerequisites
Experience in the following is required for this XML class:
- XML
- XSLT
Experience in the following would be useful for this XML class:
- HTML
Prerequisite Courses
Courses that can help you meet these prerequisites:
Follow-on Courses
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors