Interestingly, we introduced xsl:mode/@on-no-match because the conventional
forms of identity template weren't streamable. As the streamability analysis
improved, this justification largely disappeared [*], but by then we had become
accustomed to the convenience of this short-cut.
Michael Kay
Saxonica
[*] The union operator select="node() | @*" still has streaming problems -- see
the note in 19.8.8.4. But you can write it as
<xsl:apply-templates select="@*"/>
<xsl:apply-templates select="node()"/>
to get round this.
MK
On 4 Oct 2019, at 08:05, Christophe Marchand cmarchand(_at_)oxiane(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
<xsl:mode on-no-match="..."/>
It reduces significantly the quantity of stupid code we had in XSLT 2.
Christophe
Le 03/10/2019 à 19:06, Liam R. E. Quin liam(_at_)fromoldbooks(_dot_)org a
écrit :
While i was preparing for a course on XSLT 3 later this month, i
wondered whether other people would have favourite features that were
introduced in XSLT 3. I know i do.
What do you find most useful? Or like the best?
Liam
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--