Subject: Re: Comma in between!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 Sep 2004 10:45:58 +0100
|
<xsl:for-each select="B|C">
<xsl:value-of select="."/>
<xsl:if test="postion()!=last()">, </xsl:if>
</xsl:for-each>
In XSLT2 you could simplify this to
<xsl:value-of select="B|C" separator=", "/>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|