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

getting distinct content from list (?)

Subject: getting distinct content from list (?)
From: Kurt George Gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx>
Date: Thu, 22 Aug 2002 16:31:10 +0200 (MET DST)
xslt getting distinct list

The least of my xslt problems at the moment is this one (I have others
which I'm sure I'll come back to ;). This is probably easy
but I just can't see it. Here it goes.

I have an xpath which results in a list like:
'cynthia', 'bob', 'janet', 'bob', 'jack', 'bob', 'jack'.

These are user IDs collected from different locations in a document. The
actual xpath is:
  notify/@user |
  /ming/users/user[@global-notify='yes']/@id |

I need to output this as: "bob, cynthia, jack and janet".
Without the duplicates (sorted and xslt 1.0).


kurt george gjerde <kurt.gjerde@xxxxxxxxxxxxxxxxx>
intermedia uib, university of bergen

Free Jon - http://www.efn.no/freejon01-2002.html

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

Current Thread


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.
First Name
Last Name
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.