<xsl:for-each >
Iteration is available:
<xsl:for-each select="implement">
<xsl:value-of select="@interface"/>
<xsl:if test="not(position()=last())">
<xsl:text>, </xsl:text>
</xsl:if>
</xsl:for-each>