[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Parsing xml with saxon
Michael Kay wrote:
There's a fair bit of information on running Saxon transformations from an Ant task if you look around. For example You don't need mtxslt anymore (at least with the latest 1.6.5 release). See: http://ant.apache.org/manual/CoreTasks/style.html For example you can: <xslt basedir="source/xml/dir" destdir="output/dir" style="some.xsl"> <factory name="net.sf.saxon.TransformerFactoryImpl"> <!-- example feature --> <attribute name="http://saxon.sf.net/feature/allow-external-functions" value="fasle"/> </factory> </xslt> Of course Saxon will need to be on the classpath for the ant run. The easiest way to do that is place the saxon jar in in the $ANT_HOME/lib dir. best, -Rob
|
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
|