The Apache Software Foundation is proud to present...Version: 2.1.11

FOP Block Samples

Orthogonal views: Content   Pretty content   Links

Back

Back - to Cocoon Samples main page
Back - to Cocoon Blocks Samples main page

FOP block requires Batik block to be present for generating PDF with embedded images.

Simple FOP examples

Hello, PDF world! - The well-known hello.xml document rendered as PDF.
Hello, PS world! - The well-known hello.xml document rendered as PS.
minimal XSL-FO document - Source document used by FOP in the next example.
minimal PDF output - PDF version of the above document
SVG test XSL-FO document - Source document for testing embedded SVG in FOP. Should enforce possible problems with our FOP and our Batik if they are incompatible.
SVG test PDF output - PDF version of the above document.

XSP + FOP caching test

PDF with pageKey=ONE, 250 pages - Needs the serverpages generator to generate input, see generated document or sitemap for info.
PDF with pageKey=TWO, 125 pages - Uses a different pageKey value to check that both are cached separately.

Resources

FOP web site - FOP reference information