Subject: Re: [xsl] XSL Variable not getting set|
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 14 Mar 2007 14:39:22 +0100
I am using Saxon 8.8 and and trying to set a variable
when a certain value is found in the node list.
When I walk through the code with XMLSpy debug, I see
that the variable never gets set. In fact, it skips
everything between the <xsl:variable> tags and goes
right to the line: <xsl:if test="not(Found)">
Does anyone know what is wrong with this template?
<xsl:variable name="Found"> <xsl:for-each select="current-group()"> <xsl:sort data-type="number" order="ascending"/>
Cheers, -- Abel Braaksma