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

Re: is xslt "canonicalizable" can it be canonicalized?

Subject: Re: is xslt "canonicalizable" can it be canonicalized?
From: "John Lumley john@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Feb 2023 11:24:16 -0000
Re:  is xslt "canonicalizable" can it be canonicalized?
> On 8 Feb 2023, at 09:28, Michael Kay mike@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Note also, John Lumley made an attempt to write an XSLT3-to-XSLT2
translator, which for example converted xsl:iterate to a recursive template.
>
> Dealing with all the edge cases isn't easy.
For details of this see my Balisage paper
https://www.balisage.net/Proceedings/vol15/html/Lumley01/BalisageVol15-Lumley
01.html

As Michael says, the edge cases are tricky and this was only really exercised
on a large bdocument renderingb XSLT application, so it was sufficient for
that programbs needs but probably not much more. (It certainly didnbt
handle arrays or higher-order functions and simulated single-level map items
with a pair of tunnelled variables).

The big issue is perhaps not the XSLT translation, but having to parse and
modify XPath expressions (e.g. lifting out let clauses into XSLT variables).
At that time I used a parser in XSLT that was generated by Gunther
Rademacherbs ReX parser generator.

John Lumley

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.