Subject: Re: [xsl] Two-level grouping problem From: Max Bronsema <max.bronsema@xxxxxxxxx> Date: Tue, 10 May 2005 11:26:13 -0600 |
Hi Ken, http://www.xslt.com/html/xsl-list/2002-05/msg00486.html At the above link I would appreciate help in understanding this snippet of xslt. ================================================================ <xsl:if test="generate-id(.)= generate-id($rows[TYPE/@value=current()/TYPE/@value and SUB_TYPE/@value=current()/SUB_TYPE/@value]) "> ================================================================ Is $row comparing different nodes and making sure they are equal or is this just setting the id for both TYPE and SUB_TYPE? Or am I just totally out in left-field? Thanks, Max Bronsema On 5/9/05, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > At 2005-05-09 09:42 -0700, atlstjohn@xxxxxxxxx wrote: > >Im having a frustrating time getting multi-level > >grouping to work as expected. Ive tried every variant > >of the muenchian method I could think of > > I find multi-level grouping is more easily handled using a variable-based > grouping method, because the Muenchian method works with document-wide scope. > > You'll find various archives with posts such as the following showing examples: > > http://www.xslt.com/html/xsl-list/2002-05/msg00486.html > > http://www.biglist.com/lists/xsl-list/archives/200401/msg00340.html > > I hope this helps. > > . . . . . . . . Ken > > -- > World-wide on-site corporate, govt. & user group XML/XSL training. > G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx > Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) > Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc > Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Two-level grouping proble, G. Ken Holman | Thread | Re: [xsl] Two-level grouping proble, JBryant |
[xsl] xsl:stylesheet vs xsl:transfo, Mukul Gandhi | Date | [xsl] XPath Traversing UP the Hiera, Grant Bryce |
Month |