Re: [xsl] Name of current mode

Subject: Re: [xsl] Name of current mode
From: "Christian Roth" <roth@xxxxxxxxxxxxxx>
Date: Mon, 19 Apr 2010 14:46:49 +0200
Imsieke, Gerrit, le-tex wrote:

>> is there an accessor function for the current mode in XSLT 2?
>>
>As far as I know, there isn't.
>
>But you could probably use
>   <xsl:next-match />
>in conjunction with
>   <xsl:template match="image" mode="captioned-image" priority="-1">
>     ...add some attribute...
>   </xsl:template>

Thanks Gerrit. I hadn't used <xsl:next-match/> at all so far, but it
looks like a neat solution for my problem!

-Christian

Current Thread