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

select distinct

Subject: select distinct
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
Date: Mon, 16 Sep 2002 11:45:53 -0400
from select distinct
I have an xml file

<document>
 <title>Title</title>
 <section name="summary">
  <title>Executive Summary</title>
  <para>Some text goes here</para>
 </section>
 <section>
  <title>Detail</title>
  <para>Some more text goes here <ref name="a1" />.  some more text</para>
 </section>
 <section>
  <para>More text <ref name="a2" /> <ref name="a1" /></para>
 </section>
</document>

I would like to get all the unique <ref /> elements. 

<ref name="a1" />
<ref name="a2" />

I am not sure what my xsl should look like to accomplish this.

Thanks
Noel


 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.