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

RE: Is a XSLT 2 to 1 transform possible?

Subject: RE: Is a XSLT 2 to 1 transform possible?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 29 Oct 2009 08:35:13 -0000
RE:  Is a XSLT 2 to 1 transform possible?
> Out of curiosity, could a XSLT 1.0 stylesheet be used to 
> convert a XSLT 2.0 stylesheet to an equivalent XSLT 1.0 stylesheet?
> 

XSLT 1.0 is Turing-complete so the theoretical answer is yes. (With a
proviso that you would need to call out to extensions to handle a few things
like unparsed-text() and xsl:result-document).

The practical answer, given the number of man-years that I imagine are
available to you, is no. Can you imagine what a regular expression engine
would look like written in XSLT 1.0 code?

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

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.