[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] avoiding repeated items


Subject: RE: [xsl] avoiding repeated items
From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Mar 2001 13:21:40 -0500

Check the FAQ under "Duplicates"

http://www.dpawson.co.uk/xsl/N2696.html

Don


-----Original Message-----
From: Aniceto López [mailto:alopez@xxxxxxxxxxx]
Sent: Thursday, March 01, 2001 12:56 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] avoiding repeated items


hi:
simple question: how to avoid repeated elements?
in a xml file like this
<poetas>
  <autor>anonimo</autor>
  <autor>arcipreste de hita</autor>
  <autor>becquer</autor>
  <autor>becquer</autor>
  <autor>becquer</autor>
  <autor>campoamor</autor>
  <autor>dario</autor>
  <autor>encina</autor>
  <autor>encina</autor>
  <autor>encina</autor>
  <autor>espronceda</autor>
  <autor>garcilaso</autor>
  <autor>gongora</autor>
  <autor>gongora</autor>
  <autor>gongora</autor>
  <autor>lope</autor>
</poetas>

I need to list all the "autor" without repeat the
ones repeated in the xml file, just like this:

anonimo
arcipreste de hita
becquer
campoamor
dario
encina
espronceda
garcilaso
gongora
lope

thanks for helping

Ani Lopez


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

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



Current Thread
Keywords
xml