This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: grouping (was: if or template?)


: Kay Michael 

>This is the traditional solution; Steve Muench has just told me about a
>brilliant alternative using keys:
>
><xsl:key name="tid" use="tracker-id" select="."/>
>
><xsl:for-each
>select="//tracker-id[generate-id(.)=generate-id(key('tid',.)[1])]">
>
>I hope Steve will forgive me for announcing this discovery 
>before he does,
>I'm quite excited by it because it gives much better performance.

All it does to me is make me scratch my head!
Steve/Mike, would you give us the idiots view on this please,
whats happening? *Why* does it provide the unique tracker-id please?

Regards DaveP


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]