xsl-list
[Top] [All Lists]

Re: [xsl] How to create predicate dynamically

2012-05-25 07:00:32
Michael Kay wrote:

But I wonder if it does need to be completely dynamic? Would

<xsl:variable name="x" select="('mc', 'ti')"/>
<... *[@type = $x] >

solve the problem?

YesYesYes.

Cheers,
Jesper Tverskov

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>