You can download the latest release version from the distribution directory.
The file contains also the documentation (including some example fo files) and the source.
If you want to work with the latest and nicest code, you can use the cvs version. See the section
on AnonCVS in the xml.apache.org documentation for details.
Sometimes people have difficulties to access the cvs server; in this case you can download
a snapshot from the cvs files here.
In both cases you have to build Fop yourself - see Compiling Fop for details.
To run FOP from the command line, see Running FOP. If you are
interested in embedding FOP in a Java application of your own, see
Embedding FOP.