Subject:Multiple OR statements, a better way? Author:James Durning Date:20 Nov 2006 01:27 PM
You could create an xml fragment in your xslt to have the possible choices, eg:
<my:values xmlns:my="internal">
<value>5</value>
<value>9</value>
<value>10</value>
<value>15</value>
...
</my:values>
and then
<xsl:if test="myele = document('')//value">
or
<xsl:if test="document('')//value[.=current()/myele]">