xsl-list
[Top] [All Lists]

Re: [xsl] Name of current mode

2010-04-19 07:47:10
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


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