xsl-list
[Top] [All Lists]

Re: Two-level grouping problem

2005-05-10 10:26:13
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(_at_)cranesoftwrights(_dot_)com> wrote:
At 2005-05-09 09:42 -0700, atlstjohn(_at_)yahoo(_dot_)com 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(_at_)CraneSoftwrights(_dot_)com
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


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



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