FOP Block Samples

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.

This is the "old" FOP block which uses FOP 0.2x - see the "FOP NG" block to use the current version of FOP.

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.

Resources

FOP web site - FOP reference information