xsl-list
[Top] [All Lists]

RE: [xsl] Is a XSLT 2 to 1 transform possible?

2009-10-29 04:35:48
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 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>