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

'unique' element query

Subject: 'unique' element query
From: "Scott Mcdermott" <smcdermott@xxxxxxxxxxxxx>
Date: Thu, 4 May 2000 15:03:04 -0400
unique in 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


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.