[xsl] xslt task in Ant: the classpath attribute

Subject: [xsl] xslt task in Ant: the classpath attribute
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 14:27:40 -0000
Does anyone use the classpath attribute of the xslt task in Ant, for example

<xslt 
	classpath="e:/saxon-build/9.2.0.3/hej/saxon9he.jar" 
>

?

According to the documentation, the TransformerFactory is loaded using this
classpath. But I have never been able to make it work. I have to specify the
classpath in the -lib option when invoking ant from the command line.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread