xsl-list
[Top] [All Lists]

Re: [xsl] XSL Variable not getting set

2007-03-14 07:17:16

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
together. 


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.

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