xsl-list
[Top] [All Lists]

[xsl] Template mode value from param

2011-09-19 13:39:31
Hey list,

I looked up that template mode is a QName, so I can define and use
modes with prefixes like this:

<xsl:apply-templates select="." mode="hn:BobsLynListView"/>

However I want to make it even more flexible and use a param value like this:

<xsl:apply-templates select="." mode="{$mode}"/>

Is this possible? If yes - how should xsl:param and its value should look like?

Thanks

Martynas
semantic-web.dk

--~------------------------------------------------------------------
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>