Can we run fop natively?

Here should go questions about transforming XML with XSLT and FOP.
JANA
Posts: 8
Joined: Wed Jan 18, 2006 9:53 am

Can we run fop natively?

Post by JANA »

Hi .. I have a doubt..

Can we run fop natively?

Thanaks....
Jana.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

You can configure any FO processor that you can run from the command line as external FO processor in <oXygen/>. This includes any version of Apache FOP. Just create a new entry in the external FO processor list and copy the command that you use in the command line in the area called Command line of the dialog for creating the list entry. For Apache FOP you can end the command line with something like this using <oXygen/> macros:

Code: Select all

-fo ${fo} -${method} ${out}
where ${fo} is the FO input defined in the transformation scenario edit dialog, ${method} is the output format selected in the scenario edit dialog (PDF, PS, txt) and ${out} is the output file name defined in the Save As field of the Output tab of the scenario edit dialog.

Regards,
Sorin
Post Reply