[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ant task
On 01/06/2010 23:49, Monosij Dutta-Roy wrote:
Firstly, I don't recommend using the Saxon Ant XSLT task. Use the standard XSLT task instead, specifying Saxon (net.sf.saxon.TransformerFactoryImpl) as the JAXP transformer factory. Two reasons (a) it was never possible to test the Saxon task thoroughly enough, because there's no test suite available, so many regression bugs were introduced inadvertently, (b) the original justification for it has disappeared, since everything you might want to control in the transformation (e.g. initial template name, initial mode, etc etc) is now available through properties on the JAXP factory which the standard task can set.I am using XSLT / Saxon 9.2 from Ant (using Saxon9-ant) to apply transforms. I want to the use fileset task in ant to apply the XSLT to a set of files in a directory. That then leaves your question about applying the transformation to a set of files. I'm afraid that's something I haven't attempted to do at the ant level. It's easy enough to do it at the XSLT level by processing a collection(). Regards, Michael Kay Saxonica
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|