Re: [xsl] Unanderstaing xsl:mode usage

Subject: Re: [xsl] Unanderstaing xsl:mode usage
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Aug 2016 16:55:13 -0000
You are right !

Thanks !


Christophe



Le 28/08/2016 C 16:41, Martin Honnen martin.honnen@xxxxxx a C)crit :
On 28.08.2016 16:38, Christophe Marchand cmarchand@xxxxxxxxxx wrote:

I have a XSLT 3.0 that uses streaming. Trying to run it with saxon9he
(9.7.0-5 or 9.7.0-7), I get this error :

java -jar ~/applications/saxon-9.7.0-7/saxon9he.jar
-xsl:generation-nomenclature.xsl -s:Paye_082011.xml
Static error at xsl:mode on line 7 column 33 of
generation-nomenclature.xsl:
XTSE0010: Element xsl:mode must not appear directly within xsl:stylesheet
Static error at xsl:mode on line 7 column 33 of

You need Saxon EE to use XSLT 3.0 and streaming. PE should support xsl:mode but not streaming. HE only supports the XPath 3.0 functions but not the XSLT 3.0 elements.

Current Thread