XML technologies / XSL-FO / Reference
(Excerpt from “XSL-FO ― The Reference” by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
Why an XSL-FO reference?
XSL-FO is dead. This claim has circulated in the XML and publishing world for some time. Long live CSS Paged Media!
The W3C standard XSL-FO 1.1 was published at the end of 2006, and XSL-FO 2.0 has not progressed beyond Working Draft status since 2012. Moreover, the W3C XSL-FO Working Group ceased its activities at the end of 2013 because of insufficient participation. Together with the growing focus on CSS Paged Media, or Print CSS, available as a W3C Working Draft since 2013, this initially seems to argue against writing an XSL-FO reference.
We disagreed then and still do! XSL-FO remains THE language for page design and pagination of print and PDF products. Although Print CSS is simpler and more compact, it is still in its infancy. The language, originally designed for screen display, cannot yet fully meet every print layout requirement, and many renderers provide little or no support for the new technology. Generating XML-based print layouts still requires XSL-FO today. These reasons kept us committed to finally completing and publishing this “small” project after 9 years. We began it naively in 2007; it cost much time and patience and could only be pursued alongside daily work.
Our aim was to write a complete, substantial, clear and interactive German reference to XSL-FO elements and attributes. It should serve as a comprehensive resource for FO work, help readers learn and apply the technology, and contribute to solving layout problems through numerous code and output examples. Many XSL-FO references already exist, but they are mostly English and often uninformative. We hope this work of more than 3500 pages includes everything an FO user expects from a reference, and more.
Structure and use of the reference
The reference has six main sections. First, formatting objects and FO properties are listed by subject category according to the W3C standard (see chapter 6, “Formatting Objects”, chapter 7, “Formatting Properties”, and chapter 5.10, “Core Function Library”). Subsequent sections are alphabetically ordered. Elements come second, followed by attributes. The fourth section covers XSL-FO functions. Finally, current Antenna House Formatter extensions, in English, and extensions for Compart’s DocBridge product range are covered.
The reference is extensively linked. For example, while reading an element description or following a code example, you can jump straight to an attribute’s detailed explanation instead of searching the website for it.
Code examples:
The examples’ XSL-FO files are available as a free download (ZIP archive). The example outputs, except those for Compart extensions, were generated with Antenna House Formatter V6.
Each element or object includes the following information:
Chapter number in the W3C Recommendation
Subject category
Description
Version number
List of parent and child elements
Attributes with a brief description
Selected formatters and their support for the element (J = Yes, N = No, P = Partial, ? = Not implemented/no information)
Code example
Example output
Further links where applicable
W3C Recommendation excerpt
Each attribute or property includes the following information:
Chapter number in the W3C Recommendation
Subject category
Detailed description
Permitted values with descriptions
Default value
Version number
Which elements allow the attribute?
Selected formatters and their support for the attribute
Code example
Example output
W3C Recommendation excerpt
Functions include the following information:
Chapter number in the W3C Recommendation
Subject category
Description
Values
Version number
Selected formatters and their support for the function
Code example
Example output
Extensions:
The Antenna House Formatter XSL Extensions, in English, are divided into functions, values, elements and properties with similarly detailed information to the standard XSL-FO elements, attributes and functions.
The Compart extensions are divided into elements and attributes. Compart elements include a category, description, permitted attributes, code example and corresponding output. Compart attributes include a category, description, permitted values and inheritance, as well as a code example and its output.
Contents