Project

Profile

Help

using AntTransform Ant task with Saxon-B

Added by Anonymous almost 17 years ago

Legacy ID: #4551364 Legacy Poster: M Levin (svarneticist)

Hello! Is it possible to use AntTransform with Saxon-B (8.9.0.4)? When I try to build this target: <target name="build" > <taskdef name="saxon_xslt" classname="net.sf.saxon.ant.AntTransform" classpath="${saxon8_ant_jar};${saxon8_main_jar}" /> <saxon_xslt in="${main_doc}" style="${docbook_xsl_style}" schemaaware="false" out="${outFile}" /> </target> I get this error message: taskdef A class needed by class net.sf.saxon.ant.AntTransform cannot be found: com/saxonica/SchemaAwareTransformerFactory Thank you Mikhail


Replies (1)

RE: using AntTransform Ant task with Saxon-B - Added by Anonymous almost 17 years ago

Legacy ID: #4552761 Legacy Poster: Michael Kay (mhkay)

Sorry about this, this is a known problem and will be fixed in the next release. Meanwhile, if you're not needing schema-aware functionality, there's actually very little that the saxon-xslt task achieves that you can't do using the standard xslt task with the factory set to net.sf.saxon.TransformerFactory. Michael Kay Saxonica

    (1-1/1)

    Please register to reply