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
My only guess is that Ant looks for a particular class, finds it in Saxon's
jar, and uses it. However, I don't wish to dig into the details at this
moment. Anyway, regardless of the mechanism, that arrangement works for me.
Maybe it will work for you, too.
Jay Bryant
Bryant Communication Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]