RE: [xsl] An (almost) identity stylesheet

Subject: RE: [xsl] An (almost) identity stylesheet
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 10 Apr 2008 11:54:40 +0100
>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/

Current Thread