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

Re: HowTo?: Remove dublicates from a node-set according to c

Subject: Re: HowTo?: Remove dublicates from a node-set according to content with XT-19990725
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Jul 1999 14:07:01 +0100 (BST)
xsl remove dublicates
> I'm trying to find a way to remove duplicate nodes from a node-set
> according to the content of the nodes, e.g. ignore all duplicate
> reference elements whose name attribute is the same

select="reference[not(@name=following::reference/@name)]"

will return you a list of reference elements with no two having the same
name. 

David
(July syntax)


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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