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

Remove duplicates from a list


Subject: Remove duplicates from a list
From: Minita Jha <jha@xxxxxxxxxxx>
Date: Wed, 27 Oct 1999 17:33:22 -0400 (EDT)

Hi,
  I'm trying to convert xml to html.
  
  A part of my xml looks like this:
  
 <location>
   <state>xxxx</state>
 </location>
  
 <location>
    <state>yyyy</state>
 </location>
 
  <location>
    <state>xxxx</state>
 </location>
 
 The desired output is:
 
   xxxx
   yyyy
   
 That is, duplicate values of state should not be printed.
 Can this be done? 
 
 Thanks.
 
 Minita


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



Current Thread
Keywords
xml