XSL how to check for commas in a url?

\[code\]<xsl:choose> <xsl:when test="./link/@href "> <td class="link"> <a href="http://stackoverflow.com/questions/10760983/{@href}"> <xsl:copy-of select="./link/@href"/>Link</a> </td> </xsl:when> <xsl:otherwise> <td class="nolink"> <a href="http://stackoverflow.com/questions/10760983/{@href}"> <xsl:copy-of select="./link/@href"/>Link</a> </td> </xsl:otherwise></xsl:choose>\[/code\]Given the following code, I want to add another test to see whether my href-url link has got one or more commas in it. If that's true I want to assign a different class to the td. Maybe checking for no comma would be even better. I thought about "contains" but I don't know how to set up the structure for that.Any ideas are appreciated.
 
Back
Top