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

Re: xsl:next-match for named templates ?

Subject: Re: xsl:next-match for named templates ?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 26 Jul 2013 08:37:45 +0100
Re:  xsl:next-match for named templates ?
The packaging facilities in XSLT 3.0 introduce this capability:

Within an overriding named template, <xsl:call-template name="xsl:original"/>
may be used to call the overridden named template.

It's not possible in XSLT 2.0.

Michael Kay
Saxonica


On 25 Jul 2013, at 23:49, Max Toro wrote:

> Should XSLT have something like xsl:next-match for named templates? To
> call a template with the same name but lower precedence. You can work
> around it, creating a temporary node and calling xsl:apply-templates
> on it. But templates are not always used to map a tree to another
> tree. Sometimes you want to create trees from nothing, or using
> parameters or global variables.
> --
> Max Toro

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.