A
Aleksi Kallio
I want to say something like this:
<xsl:if test="contains($my-string, {'banana', 'apple', 'lemon'})">
Ie. I want to do "contains" against many strings. I don't want to write
them all manually to condition clause, because it's cumbersome and it
would help a lot if those strings could be passed into template as a
parameter.
What would be the easiest way to do this?
<xsl:if test="contains($my-string, {'banana', 'apple', 'lemon'})">
Ie. I want to do "contains" against many strings. I don't want to write
them all manually to condition clause, because it's cumbersome and it
would help a lot if those strings could be passed into template as a
parameter.
What would be the easiest way to do this?