Sorry Mike,

 

base.xml:111: saxon-xslt doesn’t support the nested „attribute” element.

 

A nested “param” element is accepted but does not appear to generate any tracing.

 

Just as an aside, I struggled to find any documentation for saxon9-ant.jar and all the variations of param that I could think of failed to deliver.

The original problem was that invoking Saxon using the “java” task corrupted the Japanese strings in the source XML. Using the “xslt” task fell foul of the Factory settings problem. Leading me to use the saxon9-ant task – this managed the transform without breaking the Japanese strings. Hooray, but I had wanted to see what additional information I could get by activating tracing..

 

Ciao Graham

 

From: Michael Kay [mailto:mike@saxonica.com]
Sent: Friday, December 11, 2009 10:53 PM
To: 'Mailing list for the SAXON XSLT and XQuery processor'
Subject: Re: [saxon] saxon9-ant.jar options

 

Hi Graham, sorry for the delay in responding.

 

If you are using the ant xslt task, or the Saxon AntTransform task derived from it, then the equivalent to the -T option on the command line is (in theory) to use a nested element

 

<attribute name=http://saxon.sf.net/feature/traceListenerClass"

               value="net.sf.saxon.trace.XSLTTraceListener"/>

 

I haven't actually tried it.

 


From: Heath, Graham [mailto:graham.heath@ts.fujitsu.com]
Sent: 08 December 2009 17:09
To: saxon-help@lists.sourceforge.net
Subject: [saxon] saxon9-ant.jar options

Hi guys, I am running the saxon9-ant.jar to invoke saxon from my ant script. The problem is that I wanted to activate the trace option and so far I have not stumbled on the right invocation.

 

Any help gratefully received.

 

Ciao Graham