Re: Re: [xslt transform & grouping] Using the Muenchia
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,';'))]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format