This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

'unique' element query


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]