Here is where i am calling it from:
<xsl:template match="niku:QueryResult/niku:Records">
<xsl:for-each-group select="niku:Record"
group-by="@gl">
<xsl:for-each-group select="current-group()"
group-by="@fiscalyear">
<!--- Do stuff ----->
<xsl:call-template name="monthly">
<xsl:with-param
name="mon">1</xsl:with-param>
</xsl:call-template>
<!--- Do stuff ----->
</xsl:for-each-group>
</xsl:for-each-group>
</xsl:template>
--- David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
I have changed my if to:
<xsl:if test="$Found = ''">
so that's changed your template from not using the
variable to using it.
and still no luck.
You need to show more code, probably. You are
calling current-group()
but don't show any use of for-each-group, (if there
is none,
current-group() will be empty, so $Found will always
be the empty string
and not($found) will always be true. If this named
template is being
called from inside a for-each-group, it depends on
how its called...
David
--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
____________________________________________________________________________________
Don't get soaked. Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--