[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Equal rights for xsl:next-match & co
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Fri, 17 May 2013 19:44:19 +0100
Re:  Equal rights for xsl:next-match & co
On Fri, May 17, 2013 at 7:29 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>>> 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.
>

I don't know if it does. The XSLT 2.0 programmers reference makes no
mention of modes when discussing  next-match and apply-imports.

The scenario hasn't yet arisen in what I am doing but it is
sufficiently proximate for the question to arise.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.