OK, got it working now.

Here are the changes to the batch file in case it can help someone else:

        rem set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar
        set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8.jar
        set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\Saxon8-dom.jar

Take out xalan-2.7.0.jar, add Saxon8.jar and Saxon8-com.jar (which I added
to the FOP\lib, but I think they can be anywhere)

Command line:

java %LOGCHOICE% %LOGLEVEL% \
-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
-cp "%LOCALCLASSPATH%" \
org.apache.fop.cli.Main \
-xml file.xml \
-xsl file.xsl \
-pdf file.pdf

Thanks for the suggestion Chris.

FYI - I am using java 1.5.0_06.

Rick

-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 01, 2006 4:12 AM
To: [email protected]
Subject: Re: Saxon 8 with FOP 0.92b

Chris Bowditch wrote:

Uh... what I wrote is only half the picture. If Saxon is in the 
classpath (not lib\endorsed), then setting TransformerFactory= should be 
enough to ensure Saxon is used by the JAXP API

Chris



---------------------------------------------------------------------
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