xsl-list
[Top] [All Lists]

Re: [xsl] xsl:next-match for named templates ?

2013-07-26 02:38:08
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

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



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