Re: HowTo?: Remove dublicates from a node-set according to content with XT-19990725

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)
> 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