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

Re: What's the best feature in XSLT 3?

Subject: Re: What's the best feature in XSLT 3?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Oct 2019 07:52:03 -0000
Re:  What's the best feature in XSLT 3?
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@xxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> <xsl:mode on-no-match="..."/>
>
> It reduces significantly the quantity of stupid code we had in XSLT 2.
>
> Christophe
>
> Le 03/10/2019 C  19:06, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx a C)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

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.