'unique' element query

Subject: 'unique' element query
From: "Scott Mcdermott" <smcdermott@xxxxxxxxxxxxx>
Date: Thu, 4 May 2000 15:03:04 -0400
Hello All,

	I have a fairly simple question that I hope has a fairly simple answer.
Here goes:

	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 (i.e., I don't the elements of value=2 returned
twice, only once).  Is there a simple way to do this with an XSL query.  I
seem to recall reading something about this, but don't remember any
details.  Any help would be greatly appreciated.

Thanks,
Scott McDermott



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


Current Thread