On 17 May 2013 16:20, Ihe Onwuka <ihe(_dot_)onwuka(_at_)gmail(_dot_)com> wrote:
It would seem that xsl:next-match and xsl:apply-imports are of the
same genre as xsl;apply-templates in that they all result in XSLT
going off to search for a template rule to apply.
Of the trio only xsl:apply-templates accepts and processes a mode parameter.
Supposing I do xsl:next-match within a modal template rule. Why
shouldn't that restrict potential matching templates to those of the
same mode.
Are we looking at some sort of lacuna here or have I overlooked something.
xsl:next-match returns the next template in match priority order, so
changing the mode doesn't really make sense there. If you need to do
that, just do <xsl:apply-templates select="." mode=" the other mode"/>
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
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>
--~--