Page Regions in XSL-FO

Inasmuch as I used this new sequence of images in my recent XSLT and XSL-FO talk at XML Summer School 2011, here’s an outline of page regions in XSL-FO.

The fo:simple-page-master FO in XSL 1.1 defines the dimensions of a page. A document may have more than one fo:simple-page-master, and the same fo:simple-page-master may be used in multiple contexts. A fo:simple-page-master has up to five regions: fo:region-body, fo:region-start, fo:region-end, fo:region-start, and fo:region-end. Only fo:region-body is required. The adjacent figure shows one arrangement of the regions. Continue reading “Page Regions in XSL-FO”

XML Summer School 2011 ends on high note

Inasmuch as my final “XSLT and XSL-FO toolbox of tips and tricks” session was well received, XML Summer School 2011 finished on a high note. My other sessions, “Developing and Testing in XSLT” with Jeni Tennison in the “XSLT/XQuery” track and a five-minute Ignite-format talk on EPUB, also went well, but it was that final talk in the “Publishing” track that got the most visible reactions. Continue reading “XML Summer School 2011 ends on high note”

xmlroff 0.6.2, libfo-examples 0.6.0

xmlroff 0.6.2 and libfo-examples-0.6.0 are now available from and

libfo-examples 0.6.0 adds xmlroff-gtktree as a work-in-progress
demonstration of using a GTK+ tree widget to view the FO tree with what
will eventually be a side panel showing the current FO’s properties.

xmlroff 0.6.2 really only has some changes in the header files necessary
to support libfo-examples 0.6.0.

The next xmlroff version will be 0.7.0, which will have some support for
static fo:static-content.

xmlroff 0.6.1

xmlroff 0.6.1 is at

xmlroff 0.6.1 features SVG external graphics rendered as vectors in the Cairo backend and table column order respecting writing mode.

Thanks go to lode leroy for the Cairo fix.

xmlroff is discussed on the mailing list (subscription required) and on the #xmlroff channel at

xmlroff 0.6.0

xmlroff 0.6.0 is at

xmlroff 0.6.0 features a BSD license without a restriction against use in a nuclear facility, an xmlroff.1 man page, and graphics rendering in the Cairo backend.

Thanks go to Jon Bosak and Mike Anastasio of Sun Microsystems for Sun’s re-release of its xmlroff source code under the no-restrictions BSD license and to lode leroy for graphics in the Cairo backend.

xmlroff is discussed on the mailing list (subscription required) and on the #xmlroff channel at

xmlroff in Ubuntu 8.04

xmlroff is available prepackaged for Ubuntu 8.04! Instead of my reciting the list of packages that you need to build xmlroff, I just need to tell you to install it from the ‘universe’ repository using the Synaptics package manager.

Thanks must go to W. Martin Borgert and others of the Debian XML/SGML Group for doing the packaging work so that Ubuntu could pick it up as well as to the Ubuntu folks for including it.