I'm trying to run the following Ant task using Saxon

<xslt style="stylesheet.xsl"
        <param name="isbn" expression="9781231231234"/>
                <pathelement location="saxon9he.jar"/>
        <factory name="net.sf.saxon.TransformerFactoryImpl">
                <attribute name="http://saxon.sf.net/feature/initialTemplate" value="MakeDql"/>

The intended output is a very simple XML document containing a script to be run by our content management system, but trying to run it from Ant gives me: java.lang.IllegalArgumentException: Unknown attribute http://saxon.sf.net/feature/initialTemplate

Other feature keys seem to work correctly, though I haven't done exhaustive checks. I'm working from the list of featurekeys at www.saxonica.com/documentation9.3/javadoc/net/sf/saxon/lib/FeatureKeys.html in tandem with the list of constant values linked therefrom - what might I have misunderstood?

The transformation works fine from the command line (using "-it:MakeDql") - just not from Ant. Can anyone shed any light?

Many thanks,
Tom Cleghorn