Is there a CAST or a look a like of a SELECT ... IN function? Im now using the When and then function like:
<xsl:when test="Fields/Field[@Name='test']='1'">123</xsl:when>
<xsl:when test="Fields/Field[@Name='test']='2'">123</xsl:when>
Like example above, but i have i think 40 values which i need to evaluate and most of them does have only 1 value, like when its 1,2,3,4,5,6,7,8 then the field should be 123 when its 9 then it should be 456, is there a simply way to write a case structure or something similar like that?
TIA
<xsl:when test="Fields/Field[@Name='test']='1'">123</xsl:when>
<xsl:when test="Fields/Field[@Name='test']='2'">123</xsl:when>
Like example above, but i have i think 40 values which i need to evaluate and most of them does have only 1 value, like when its 1,2,3,4,5,6,7,8 then the field should be 123 when its 9 then it should be 456, is there a simply way to write a case structure or something similar like that?
TIA