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

RE: Grouping examples make my head spin

Subject: RE: Grouping examples make my head spin
From: "Charles Knell" <cknell@xxxxxxxxxx>
Date: Tue, 06 Aug 2002 07:38:57 -0700
you make my head spin
Thanks for your help. What was confusing me was that I misunderstood
this:

<xsl:for-each select="contractors/contractor/contract/@org[generate-id(.)=generate-id(key('orgsByOrg',.)[1])]">

to be some sort of value assignment, which I kept thinking it couldn't
be because generate-id() is a function which returns a value, not a variable
which accepts a value. With your help I realize that I was right, it
isn't an assignment, it's an equality test. Now that I grasp that, the
rest follows naturally.

-- 
Charles Knell
cknell@xxxxxxxxxx - email


---- "Macaulay,Malcolm (US)" <Malcolm.Macaulay2@xxxxxxxxx> wrote:
> Hi Charles,
> 
> Below is a sample XSLT which does (hopefully) something close to what
> you want. I've put comments into the XSLT to try to explain what is
> going on.
> 
> I used the Muenchian method to get the unique @org's - take a look
> at Jeni T's good website (http://www.jenitennison.com/xslt/grouping/muenchian.html)
> and the archives of this list for more info.
>  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.