View Single Post
  #1 (permalink)  
Old June 3rd, 2008, 05:45 PM
xsltier xsltier is offline
Registered User
 
Join Date: Jun 2008
Location: Perrysburg, OH, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How Do I avoid duplicate values

Hi,

I have a xml document like this.
<root>
<S_HL>
<diag1>
   <code v="100.2">
   <code v="120.3">
 </diag1>
 <diag2>
   <code v="100.2">
   <code v="300.0">
  </diag2>
<S_HL>
I want to display distinct values using xsl like, If I see the duplicate value next time, then I shouldn't get S_HL segment.

Example:
   code : 100.2
   code: 120.3
  How do I get these values using xsl?

Note:- Plz dont provide me the links apart from solution

Thanks
Chinnu



Reply With Quote