O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Formatted Document

To process ch14_03.po and create a formatted document, I'll use James Tauber's FOP (Formatting Objects Processor), which has now been donated to the Apache XML Project. (The alphaWorks XML for Java parsers that I've been using for several chapters are based on the Apache XML project's Xerces XML parser.)

Here's how the Apache XML Project describes FOP:

FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects and the world's first output independent formatter. It is a Java application that reads a formatting object tree and then renders the resulting pages to a specified output. Output formats currently supported are PDF, PCL, PS, SVG, XML (area tree representation), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required