Hi,
Have you tried setting the following system property:
javax.xml.transform.TransformerFactory
org.apache.xalan.processor.TransformerFactoryImpl
The latest xalan-j version uses JAXP and checks this property
before instantiating a transformer instance. You can pass the
Saxon instance instead of the xalan instance.
I hope you know how to pass parameters to java from the command
line.
%java -Djavax.xml.transform.TransformerFactory="balah..."
org.apache.fop. etcetera
Iam not sure if xalan2.4.1 uses JAXP and I suggest you download
the latest version of xalan from apache website.
Iam sure FOP developers have made the parser and xslt processor
configurable.
Cheers,
Omprakash.V
Mukul Gandhi
<mukul_gandhi@ To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
yahoo.com> cc: (bcc: omprakash.v/Polaris)
Subject: [xsl] Is it possible to
run FOP with Saxon
06/07/2005
09:35 AM
Please respond
to xsl-list
I have a question ..
I am using FOP 0.20.5. I also have Saxon 8.4 ..
FOP by default uses Xalan-J. Can I somehow use Saxon
(instead of Xalan-J) during 1st phase of FO
processing?
I modified fop.bat file as below -
set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
set
LOCALCLASSPATH=%LOCALCLASSPATH%;C:\xml\saxonsa8-4\saxon8.jar
But FOP seems "not to select Saxon" ..
Also, is it advisable to run FOP like this (i.e. with
not using Xalan) ..?
Regards,
Mukul
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
This e-Mail may contain proprietary and confidential information and is sent
for the intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its
attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--