[Home] [By Thread] [By Date] [Recent Entries]
Michael PG wrote:
I have choosen to work with parameters, like: You can pass a nodeset in the param, much like David's example: <xsl:param name="filter">
<a>food</a>
<a>drink</a>
</xsl:param>then you would need the possibility to pass a nodeset, and the nodeset extension to access it: [@filter=exsl:node-set($filter)/a]. Both depend on the processor - I don't know if and how this is possible in yours. If you really cannot pass a nodeset, you could always build up a search string something like <xsl:param name="filter" select="';food;drink;'"/> and then use [contains($filter,concat(';',@filter,';'))] Anton
|

Cart



