Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
Custom processor for Xslt task?

Custom processor for Xslt task?

2006-12-30       - By Trevor Harmon
Reply:     1     2     3     4     5     6     7     8     9     10  

On Dec 30, 2006, at 8:22 PM, Jay Bryant wrote:

> I get Ant to work with Saxon with tasks similar to this one:
>
> <xslt in="in.xml" out="out.xml" style="style.xsl">
>  <classpath location="path-to-saxon8.jar" />
> </xslt>

Disregarding my issue for a moment, I don't understand how this could  
possibly work. Okay, so the Saxon JAR is on the classpath. We could  
even assume it's the very first entry on the classpath.

But how does Ant know to use Saxon and not Xalan? I don't see  
anything in the above snippet that tells Ant to use a different  
processor. How can it work without specifying the Saxon factory class?

Trevor


---------------------------------------------------------------------
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.