Subject: RE: For Each - Unique Items
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 23 Nov 2003 16:00:08 -0000
|
Selecting unique items is essentially the same problem as grouping: see
http://www.jenitennison.com/xslt/grouping
Michael Kay
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Olmec Sinclair
> Sent: 03 December 2003 12:12
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: For Each - Unique Items
>
>
> Hi guys,
>
> First of all thanks for the help on my last issue I am
> comming up with a work
> around.
>
> I have another query someone might be able to help with.
>
> Is it possible to have a for-each loop that can determin if
> an item is a
> unique in that list.
>
> <xsl:for-each
> select="product/productAttribute[contains(@stringValue,'.')]">
> where each @stringValue is unique
>
> Thanks for the help.
>
> Olmec
>
>
> --
> Olmec Sinclair
> doLithe Internet
> e | olmec@xxxxxxxxxxx
> p | 0508 50 51 50
> w | www.dolithe.com
> m | 021 0459791
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|