Re: [xsl] An (almost) identity stylesheet

Subject: Re: [xsl] An (almost) identity stylesheet
From: John Snelson <john.snelson@xxxxxxxxxx>
Date: Thu, 10 Apr 2008 12:28:47 +0100
My impression was that the goal was to correctly execute valid XSLT 1.0 stylesheets, and a non-goal to specify anything about invalid XSLT 1.0 stylesheets.

John

bryan rasmussen wrote:
why was that choice made?

Cheers,
Bryan Rasmussen

On Thu, Apr 10, 2008 at 12:54 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
Using xsl:attribute with @select in a 1.0 transformation provokes a
 variety of reactions from processors. Xalan C++ 1.10.0 throws an error,
 LibXSLT 10120 ignores it, Saxon 9.0.0.2J processes @select as if
 allowed.

 That's because it *is* allowed. When you use an XSLT 2.0 processor, you can
 use XSLT 2.0 syntax, even if your stylesheet specifies version="1.0".

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



--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

Current Thread