Subject: RE: [xsl] Grouping examples make my head spin From: "Charles Knell" <cknell@xxxxxxxxxx> Date: Tue, 06 Aug 2002 07:38:57 -0700 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Grouping examples make my, Macaulay,Malcolm (US | Thread | [xsl] is there a generic way to ite, stardust@xxxxxxxxxx |
[xsl] access of a param, aruniima . chakrabar | Date | Re: [xsl] access of a param, Vasu Chakkera |
Month |