xsl-list
[Top] [All Lists]

Re: [xsl] XSL Variable not getting set

2007-03-14 08:31:20
Michael Kay wrote:
I don't think this is correct:

- your 'current-group' is out of scope in a named template, selecting the
empty sequence always.

current-group() like most other aspects of the XSLT dynamic context is
passed through to a named template. I don't think it's good coding style to
do this, but it's permitted.

Thanks Michael, I hoped someone would either correct me or confirm me. I checked the spec, but I found the sentence "While an xsl:for-each-group instruction is being evaluated, the current group will be non-empty. At other times, it will be an empty sequence." not utterly clear.

-- Abel

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