[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Two-level grouping problem

Subject: Re: Two-level grouping problem
From: Max Bronsema <max.bronsema@xxxxxxxxx>
Date: Tue, 10 May 2005 11:26:13 -0600
max bronsema
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.