Subject: Re: Eliminate repeated
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 29 May 2008 11:27:46 +0200 (CEST)
|
IZASKUN GUTIERREZ GUTIERREZ wrote:
Hi
> <xsl:template match="/">
> <xsl:for-each select="file/entry/child::*" >
> <xsl:value-of select="name()"/>
> </xsl:for-each>
> </xsl:template>
> [...]
> But I need that the output: book,article,inbook,manual eliminating
> the repeated values.
<xsl:value-of
select="distinct-values(file/entry/*/name(.))"
separator=", "/>
Regards,
--drkm
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicitis
http://mail.yahoo.fr Yahoo! Mail
|