ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Abley" <james.ab...@gmail.com>
Subject Re: Ant 1.7 - XSLT task and Xalan and Saxon9 issue
Date Thu, 02 Oct 2008 08:27:04 GMT
2008/9/30 Marijan (Mario) Madunic <hajduk@imag.net>:
> I'm trying to run various XSLT tasks that either rely on Xalan or Saxon and
> am having a hard time with ANT recognizing Xalan when Saxon is in the
> Ant/lib. The reason I am running both is that Xalan has a better extension
> for SQL than Saxon does and my other XSLT tasks all run with XSLT 2.0.
>
> Here is a copy of how I've written the task using Xalan. Once I remove
> saxon9.jar for the lib it runs perfectly but not while it is in the lib.
>
> <xslt in="${l_Drive}XML\cdCollection\doNotDelete\keep.xml"
> out="${l_Drive}cdCollection\temp\artists.xml"
> style="${l_Drive}XML\cdCollection\xslChunks\getArtistsXalan.xsl">
> <classpath location="H:\ANT\lib\xalan.jar"/>
> </xslt>
>
> Any insight would be appreciated.
>
> Marijan (Mario) Madunic
>

Have you tried using the processor attribute?

Cheers,

James

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message