Examples for the use of xsl:fo can be found in the Fop distribution in
the subdirectory xml-fop/docs/examples/fo. You can start transformation of all fo files into pdf
files by starting xml-fop/docs/examples/runtests.
At the moment the following files are part of the distribution:
- normal.fo - a very simple file showing the use of a 2 level of headings, normal text and a header.
- table.fo - a simple table
- list.fo - a simple list
- images.fo - shows how to embed gif and jpg images into the xsl:fo file using inline-graphic.
- border.fo - a not so simple example how to use borders in tables
- extensive.fo - a longer test file containing a lot of different flow objects and properties.
A good candidate to test your bugfix or new Fop code.
Developers will find the first steps to a test suite for all implemented formatting objects and
properties in xml-fop/docs/bugtests.
|