The XSL-FO Formatting Objects

In XSLT documents, you use elements such as <xsl:stylesheet>, <xsl:output>, and so on:

<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
    <xsl:output method="xml"/> 
    <xsl:template match="*"> 
        <xsl:copy> 
            <xsl:apply-templates/> 
            . 
            . 
            . 

An XSL-FO document is written in much the same way, but rather than use XSLT elements such as <xsl:stylesheet>, you use elements based on the XSL-FO formatting objects. There are 56 such formatting objects, such as the root object, which creates the root node of an XSL-FO document, or the block object, which creates a block region (a rectangular display area, much like the one an <H1>header creates in an HTML document). ...

Get Inside XSLT now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.