This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
'unique' element query
- To: <XSL-List at mulberrytech dot com>
- Subject: 'unique' element query
- From: "Scott Mcdermott" <smcdermott at alventive dot com>
- Date: Thu, 4 May 2000 15:03:04 -0400
- Reply-To: xsl-list at mulberrytech dot com
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