Subject: Re: [xsl] things about grouping From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx> Date: Sat, 24 Nov 2012 10:15:25 +0100 |
1. <xsl:apply-templates select="current-group() except blah"/>
still applies templates to blah
well, blah is not a child of the current context of the for-each-group (the "." is the first node() in the group) I would expect you to need something like this
2. If your group by patttern evaluates to an empty element current-grouping-key() will yield nothing. However one may (as I did) want to get at the attributes of such an element but this is not possible.
3. If you group-starting-with it's weird to then see things not encompassed by the starting-with expression appear as a group because they precede the first occurrence of the starting-with expression. While this works as specified because for-each-group is a total function over the population it does result in a mismatch between the grammatical semantic and the exhibited behaviour, or to put it another way it does what it says in the spec but doesn't do what it says on the tin.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] things about grouping, Michael Kay | Thread | Re: [xsl] things about grouping, Geert Bormans |
Re: [xsl] things about grouping, Andrew Welch | Date | Re: [xsl] things about grouping, Geert Bormans |
Month |