On May 31, 2006, at 22:17, Rick Roen wrote:

Hi,
I am using Saxon 8 to do the xslt transformation from xml -> xsl -> pdf in FOP 0.92b.

I have Saxon8.jar listed in the java\lib\endorsed which works find with my DOS batch file.

I am getting ready to deploy the application and would rather not try to add something to the clients java setup, but rather just tell FOP to use SAXON 8 for its transformation.
<snip />
What is the proper way to tell FOP to use saxon, or do I have to do a two step process of creating the fo file and then using it to get the final pdf?

If I recall correctly, the easiest way to achieve the effect you're after is by modifying fop.bat to force the relevant JAXP system property through the java command-line, e.g.:

java -Djavax.xml.transform.TransformerFactory=...

make this point to Saxon's TransformerFactory implementation, and you should be good to go.


HTH!

Cheers,

Andreas


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

Reply via email to