[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: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Oct 2019 19:30:05 -0000
Re:  What's the best feature in XSLT 3?
For me itbs probably maps, as it allows structured results. Iterate helps a
lot in some cases (e.g. processing static variables in an XSLT compiler ;-)).

Dark horses might be accumulators (though I admit to never having used keys in
2.0) which are slowly growing on me.

And without xsl:evaluate an XSLT compiler in XSLT would be considerably more
complex. I should also of course use packaging .... real soon now....

John Lumley

Sent from my iPad

> On 3 Oct 2019, at 20:09, Martynas JuseviD
ius martynas@xxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> To me I think it's streaming, because it enables transformations on
> large data which simply were not possible before.
> But it's probably the most complex, too.
>
> On Thu, Oct 3, 2019 at 8:19 PM Graydon graydon@xxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> On Thu, Oct 03, 2019 at 04:59:28PM -0000, Liam R. E. Quin
liam@xxxxxxxxxxxxxxxx scripsit:
>>> 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?
>>
>> Maps.  I find maps are hands-down the single most useful thing in XSLT 3.
(Even
>> if that's technically 3.1.)
>>
>> xsl:mode can clearly do much more than I use it for, but the one-line
>> identity template version is a boon to multi-pass processing.
>>
>> The general... compactness of expression?  I'm not sure what to call it.
>>
>> <xsl:variable as="xs:integer" name="splitPos" select="min($kids[label =
$labelKeys] ! index-of($kids, .))" />
>>
>> is certainly *possible* in XSLT 1.0, but I'm pretty sure I couldn't
>> write it like that.  Possibly better phrased as "it's been awhile since
>> I was annoyed by the lack of function".
>>
>> -- Graydon

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.