|
Subject: [xsl] Name of current mode From: "Christian Roth" <roth@xxxxxxxxxxxxxx> Date: Mon, 19 Apr 2010 14:24:50 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] For this input element, f, Wolfgang Laun | Thread | Re: [xsl] Name of current mode, Imsieke, Gerrit, le- |
| Re: [xsl] For this input element, f, David Carlisle | Date | Re: [xsl] Name of current mode, Imsieke, Gerrit, le- |
| Month |