RE: 'unique' element query

Subject: RE: 'unique' element query
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 8 May 2000 09:35:49 +0100
Use child[not(.=preceding-sibling::child)]

Mike Kay

> 	Say I have some XML that looks like this:
> 
> 	<rootelement>
> 		<child>1</child>
> 		<child>2</child>
> 		<child>2</child>
> 		<child>3</child>
> 	</rootelement>
> 
> 	And I want to do a query that returns only the elements 
> that have a unique value 


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


Current Thread