xsl-list
[Top] [All Lists]

Re: [xsl] things about grouping

2012-11-24 03:53:46
On 24 November 2012 09:37, Geert Bormans 
<geert(_at_)gbormans(_dot_)telenet(_dot_)be> wrote:
At 10:14 24/11/2012, you wrote:

On 24 November 2012 05:54, Ihe Onwuka 
<ihe(_dot_)onwuka(_at_)gmail(_dot_)com> 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

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

<Prev in Thread] Current Thread [Next in Thread>