Sure. Assuming <element> is the context node:
In XSLT 2.0:
<td onclick="function({string-join(links/*, ','})">
<xsl:value-of select="info/name"/>
</td>
In XSLT 1.0:
<td>
<xsl:attribute name="onclick">
<xsl:text>function(</xsl:text>
<xsl:for-each select="links/*">
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">,</xsl:if>
</xsl:for-each>
<xsl:text>)</xsl:text>
</xsl:attribute>
<xsl:value-of select="info/name"/>
</td>
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference