W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2007

XSLT 1.0 and XSLT 2.0

From: Michael Kay <mike@saxonica.com>
Date: Sat, 13 Oct 2007 05:37:16 +0100
To: <public-xml-processing-model-comments@w3.org>
Message-ID: <003201c80d52$be04e3d0$f8372e0c@turtle>

Another thought on the topic of XSLT 1.0 vs XSLT 2.0.

It seems to me that the same problem is going to affect every task that
XProc can invoke: XSLT won't be the only thing to exist at more than one
version. The solution adopted for XSLT, of having two different tasks xslt1
and xslt2, doesn't really seem the right general solution. Wouldn't it be
better to have an attribute such as specification-version="1.0|2.0"? It
might also be appropriate to have attributes that allow the caller to
indicate which implementations of the specification are preferred and/or
acceptable as alternatives.

Michael Kay
http://www.saxonica.com/
Received on Saturday, 13 October 2007 04:37:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:42 GMT