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 external-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.
- leader.fo - a very simple example of a rule
- Look also into the directory examples/svg. There you find some very extensive svg examples.
Just start makedoc.
- In the directory examples/pagination you find a suite of examples showing the use
of xsl:fo pagination.
Developers will find the first steps to a test suite for all implemented formatting objects and
properties in xml-fop/docs/bugtests.
|