Home About Courses Schedule Services Webinars Contact Search

Introduction to XSL-FO

SEE SCHEDULE

Duration: 2 Days

Method: Instructor led, Hands-on workshops

Price: $1125.00

Course Code: XM1028


Audience

This course is designed for application developers who wish to learn to use XML-FO.

Description

Do you need to use XML Stylesheets to transform XML documents into PDF files? This is the course for you!

The many capabilities of XSL-FO are covered in this course with hands-on exercises throughout.

Objectives

Upon successful completion of this course, the student will be able to:

  • 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

Prerequisites

Experience in XML and XSLT is required: Experience in HTML would be beneficial:

Topics

  • I. 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
  • II. 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
  • III. 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
  • IV. Links and Graphics
    • External Links
    • Graphics
    • Internal Links
  • V. Tying It All Together: XSL-FO
    • Tying it all Together
  • VI. Keeps, Orphans, and Widows
    • Keep Constraints
      • keep-with-previous and keep-with-next
      • keep-together
    • Orphans and Widows
  • VII. Leaders, Markers and Page Numbers
    • The Output
    • Table of Contents
      • Page Numbering
    • Leaders
    • Markers
  • VIII. Tables
    • Creating Tables
      • fo:table
      • fo:table-column
      • fo:table-header, fo:table-body, fo:table-footer
      • fo:table-row
      • fo:table-cell
  • IX. Footnotes and Floats
    • Footnotes
      • xsl-footnote-separator
    • Floats