On Mar 6, 2007, at 19:51, Abel Braaksma wrote:

Hi,

Jeff Vannest wrote:
What version of XPath is used in FOP 0.93 when parsing through an XSLT-FO file? Is there a way to control the XPath version being used? I'm trying to
use:

<xsl:if test="upper-case( ../NAME ) = &quot;SITE NAME&quot;">

<snip />

In addition to Abel's fine explanation, note that to make FOP work with Saxon, you can also do this in one of the following ways:

Add saxon8.jar to your classpath, and
a) modify (or create) /$JAVA_HOME$/lib/jaxp.properties
add:
javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryIm pl

b) modify fop.bat, and change the final line to:
"%JAVACMD%" - Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryI mpl ...

a) will make any Java application that uses the JAXP API use Saxon.
b) will do the same, but only when you run FOP.


HTH!

Andreas

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

Reply via email to