Does contains() work for multiple words stored in a variable? Will the below one work? If it won't work, please help me with a solution.
<xsl:variable name="games" select="footballvolleyballchesscarrom"/>
<xsl:when test="contains($games,'chess,carrom')">CORRECT</xsl:when>