|
Subject: Re: [xsl] 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Eliminate repeated, IZASKUN GUTIERREZ GU | Thread | [xsl] A belated Happy Birthday, Michael Kay |
| [xsl] Eliminate repeated, IZASKUN GUTIERREZ GU | Date | Re: [xsl] Combine two diff xmls - , sudheshna iyer |
| Month |