xsl-list
[Top] [All Lists]

Re: [xsl] Apply for-each-group to a node subset

2007-09-21 09:48:07
Abel Braaksma wrote:
Raman Gupta wrote:

     <!-- process nodes after group -->
     <xsl:apply-templates select="*[preceding-sibling::g2[last()]]"/>

*
Take all nodes

[...]
having

preceding-sibling::g2
a sibling preceding myself and with the name 'g2'

[...]
having

last()
a position that is the last in the list (the list being "siblings
preceding myself and with the name 'g2' ")

So I guess nested predicates are not evaluated from the inside out?
That would explain why it doesn't work.

Cheers,
Raman Gupta


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