[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Equal rights for xsl:next-match & co


Subject: Re: [xsl] Equal rights for xsl:next-match & co
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 17 May 2013 19:29:00 +0100

>> 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"/>
>>
>
> It's not about changing to some other mode. It's about whether
> <xsl:next-match> should respect the modality of the  "calling
> template" when looking for a matching template rule.

It does doesn't it?   I'm not in a position to check at the moment,
maybe you could post a small complete runnable example.

-- 
Andrew Welch
http://andrewjwelch.com


Current Thread