Thanks for the prompt response Bryant. What I wanted to achieve is try to
get the .fo using the same libs available to the specific FOP verison I am
running from the command line. I am guessing it may not be possible to run
the Transformer API directly from the command line like we do with FOP.

I know Saxon is an option, but then Saxon may use it's own version of the
parser and transformer files which I want to avoid. I want to use the same
parser and transformer files that FOP uses from the command line.

Thanks,
Anil.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 11:24 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: .FO outout


Hi, Anil,

Yes.

To get the .fo file, run Xalan rather than FOP. For example:

xalan -in mysource.xml -xsl mystylesheet.xsl -out myout.fo

Then, to turn the FO file into PDF, you can use:

fop -fo myout.fo -pdf mypdf.pdf

You can also use this feature to separate FOP from Xalan. I use Saxon 8.5,
so that I can use XSLT 2.0 and the run FOP against the resulting FO file.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




"Anil Pinto" <[EMAIL PROTECTED]>
08/25/2005 01:12 PM
Please respond to
fop-users@xmlgraphics.apache.org


To
"Fop-Users" <fop-users@xmlgraphics.apache.org>
cc

Subject
.FO outout






Hi all,

Is it possible to see the .fo output that FOP uses once it accepts the xml
and xsl to create the pdf from the command line ?

Thanks in advance.
Anil Pinto.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to