xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] getting distinct content from list (?)


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

Hi,

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 |
  /ming/client[@id=$myClient]/admin/@user

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

How?


Thanks,
-Kurt.
__________
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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor