XSL-FO Samples

RenderX offers two public testsuites for XSL-FO:

XSL FO Features

demonstrates the usage of XSL FO elements and attributes;

FO Tips and Tricks

implements actual usecases and explores advanced tricks.

The first set of tests is meant to help people trying to understand basic XSL FO features; it may also serve to access conformance of the formatter to the XSL Recommendation. The second set aims at demonstrating how XSL FO can be applied to common real-world scenarios, and how special effects can be achieved.

All tests are presented in form of XML data files paired to XSLT stylesheets. We did out best to avoid publishing manually crafted XSL FOs: use of XSLT transformation is the most natural way to produce Formatting Objects.