[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: For Each - Unique Items
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|