ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: xslt version
Date Thu, 13 Mar 2008 10:52:02 GMT
Currently, using XSLT version 2 means using Michael Kay's Saxon. You can
get it from saxonica.com

Put the saxon.jar on your classpath for the build and set the
javax.xml.transform.TransformerFactory to  use saxon. For example:

<xslt in="a.xml" out="b.xml" style="c.xsl">
  <factory name="net.sf.saxon.TransformerFactoryImpl"/>
</xslt>

Or you could set a concrete subclass for the factory through a system property:

javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl


On Thu, 2008-03-13 at 03:35 -0700, Z W wrote:
> So how and where do I get a xslt 2.0 compliant processor to work with ant
> 1.7 ?
> Could someone explain how and where ?
> 
> Thanks


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


Mime
View raw message