I am trying to concatenate a string using a comma as the separator using the following statement:
<xsl:call-template name="textNormal">
<xsl:with-param name="text">
<xsl:for-each select="/customer/orders/orderNo">
<xsl:value-of select="."/>
,
</xsl:for-each>
</xsl:with-param>
</xsl:call-template>
The above works but the output comes out as shown below:
213321,123,12312312312,3123123124123432,3142341341432,
How can i change it so that there is no trailing comma at the end of the concatenated string?
Thanks