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

Subject: Re: [xsl] Apply for-each-group to a node subset
From: Raman Gupta <rocketraman@xxxxxxxxxxx>
Date: Fri, 21 Sep 2007 12:47:38 -0400
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

Current Thread