Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Re: xslt version

Robert Koberg

2008-03-13

Replies:
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@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.