[xsl] concating strings in a loop

Subject: [xsl] concating strings in a loop
From: Herwig Posedu <herwig.posedu@xxxxxxxxxx>
Date: Fri, 06 Feb 2004 11:02:25 +0100
i want to display a list of persons "comma-seperarted" on my pdf-file.
how can i concate those person-names seperated with a "," but in that way, that after the last name is no ",".
i did it like this

<xsl:for-each select="person">
<xsl:value-of select="name" />
,<fo:inline color="white">.</fo:inline>
-> the output for example is: mike, john,
-> i want to have: mike, john
how can i concate the strings and substring it, so that the last comma will be removed

thx for help
Herwig Posedu

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread