[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] things about grouping


Subject: Re: [xsl] things about grouping
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sat, 24 Nov 2012 09:53:35 +0000

On 24 November 2012 09:37, Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx> wrote:
> At 10:14 24/11/2012, you wrote:
>>
>> On 24 November 2012 05:54, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote:
>> > 1. <xsl:apply-templates select="current-group() except blah"/>
>> >
>> > still applies templates to blah
>>
>> It needs to be " except self::blah" otherwise it will look on the child
>> axis.
>
>
> In my understanding the first item in a group is selected as the context of
> the for-each-group
> current-group() is the sequence of all nodes in the group
> so I am not sure this should work in all cases.
> Correct me if I am wrong please, Andrew

Yep you are right : )






-- 
Andrew Welch
http://andrewjwelch.com


Current Thread