The goal of this Quick Start Guide is to help novice users get Apache FOP up and running quickly. Typically, you'll need to:
Here are some links to help you find out what FOP can do, as well as how and where to get help:
Once you've familiarized yourself with the basics, you can get more detailed information, in the detailed FOP product documentation.
This section walks you through a "Hello World!" page with Apache FOP. We're assuming you download the binary distribution and that you have a Java Runtime Environment (version 1.4 or later) installed.
C:\FOP
if you're on Windows). Let's call that
directory <fop-home>.
fop -fo examples/fo/basic/readme.fo -awt
./fop -fo examples/fo/basic/readme.fo -awt
name.xml
:name2fo.xsl
):fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf
./fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf
name.pdf
in your favorite PDF viewer.