xsl-list
[Top] [All Lists]

Re: [xsl] XSL Variable not getting set

2007-03-14 07:04:32

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>
--~--