http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Download
Running FOP
Features
Limitations
Examples
Configuration
Fonts
Extensions

Compiling
Embedding
Getting involved
Architecture

Bugs
FAQ
Resources
License

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. The resulting test files can be found in xml-fop/docs/examples/tests

At the moment the following files are part of the distribution:

  • simple.fo - a very simple file which gives use a first impression of the structure of an fo file
  • normal.fo - a simple file showing the use of a 2 level of headings, normal text and a header.
  • table.fo - some table examples
  • list.fo - a short tutorial how to use list fo's and properties
  • 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 - shows different uses of fo:leader, p.e. as rule or in a table of content
  • normalex.fo - shows the use of computed property values
  • inhprop.fo - shows the use of inherited property values
  • instream.fo - shows the use of fo:instream-foreign-object together with svg
  • textdeko.fo - shows the use of the property textdecoration
  • readme.fo - uses an old version of Fop documentation for a longer example
  • 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.
  • If you are interested in using svg, you may want to look into the svg test suite, which must be downloaded separately (ca. 2.1 MB).

Developers will find the first steps to a test suite for all implemented formatting objects and properties in xml-fop/docs/bugtests.


Copyright © 1999 The Apache Software Foundation. All Rights Reserved.