Subject: Re: [xsl] list with comma delimiter From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx> Date: Mon, 12 Jun 2006 17:15:09 +1000 |
<items> <product>x</product> <product>y</product> <product>z</product> <product>a</product> </items>
You could try this:
<xsl:for-each select="product"> <xsl:value-of select="."/> <xsl:if test="position() != last()"> <xsl:text>, </xsl:text> </xsl:if> </xsl:for-each>
GH
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] list with comma delimiter, Wendell Piez | Thread | Re: [xsl] list with comma delimiter, Jeff Sese |
Re: [xsl] Schematron with XPath 2.0, George Cristian Bina | Date | [xsl] RE : [xsl] root siblings cont, Florent Georges |
Month |