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

[xsl] Eliminate repeated


Subject: [xsl] Eliminate repeated
From: IZASKUN GUTIERREZ GUTIERREZ <igutierrez027@xxxxxxxxxxxxx>
Date: Thu, 29 May 2008 10:38:14 +0200

Hello everybody!

I have one template that returns the tags values from one XML file. But I need elimate the repeated names. I am using this template:

   <xsl:template match="/">
        <xsl:for-each select="file/entry/child::*" >
          <xsl:value-of select="name()"/>
        </xsl:for-each>
   </xsl:template>

The result of this template is book, article, inbook, book, manual, article.

But I need that the output: book,article,inbook,manual eliminating the repeated values.

Could anybody help me?

Thank you, Regards

Izaskun


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml