Re: [xsl] XSL Variable not getting set

Subject: Re: [xsl] XSL Variable not getting set
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 14 Mar 2007 14:16:58 GMT
> Here is where i am calling it from:

Ok so current-group() will be non empty if the template is called.
Still can't really say what result you should get though. The list
guidelines do advise posting small complete runnable examples.

so 	<xsl:if test="not($Found)"> should evaluate to true or false
depending on your input source, more than that I can't say.

It wouldn't be surprising if in a debugger you saw the test before
executing the variable definition as a system may defer executing the
variable definition until (if) it is needed. The order that a system
executes expressions isn't defined, only the way the results are put

the list guidelines do advise posting complete runnable examples. If you
have a small example where you get an unexpected result, post it and
someone will most likely say why the result you get is expected, or
point to an error in your code or your processor.


Current Thread