Hello,
is there an accessor function for the current mode in XSLT 2?
The idea is to have something like this (I know this is NOT valid code!):
--snip--
<xsl:template match="image" mode="captioned-image block-image">
...
<xsl:if test="current-mode()='captioned-image'">
...add some attribute...
</xsl:if>
...
</xsl:template>
--snip--
-Christian
--~------------------------------------------------------------------
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>
--~--