[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

launching Saxon 8.2 from xslt Ant task

Subject: launching Saxon 8.2 from xslt Ant task
From: Roger I Martin PhD <hypernexdev@xxxxxxxxxxxxxxx>
Date: Tue, 01 Feb 2005 11:37:06 -0500
saxon ant
Hi,

http://ant.apache.org/manual/CoreTasks/style.html

<target name="NURBS">
<xslt basedir="." processor="net.sf.saxon.Transform" classPath="C:\sourceforge\saxonb8-2\saxon8.jar" destdir="." in="xml/NURBSCurve2.xml" out="src/com/neuralworks/fea/mathml/NURBSCurve2.java" style="../../stylesheets/mathml2Java.xsl">
<param name="baseClassName" expression="com.pombi.mathml.lang.AbstractEquation"/>
<param name="packageName" expression="com.neuralworks.fea.mathml"/>
<param name="className" expression="NURBSCurve2"/>
<outputproperty name="method" value="text"/>
<outputproperty name="encoding" value="UTF-8"/>
</xslt>
</target>


Throws an class cast exception. I've tried net.sf.saxon.TransformerFactoryImpl and got the same. Is it a class I don't know or Ant 1.6.1 doesn't know?

If I set the processor attribute to "Saxon" as the Ant doc suggests, I get class not found.

Also if Michael Kay sees this, what format should examples of use be written?

-Roger

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.