RE: [xsl] using xsl:document with 1.0 stylesheets

Subject: RE: [xsl] using xsl:document with 1.0 stylesheets
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 8 Mar 2001 16:12:36 -0000
> <xsl:value-of select="system-property('xsl:version')"/>
>
> Saxon 6.2:
> Version 1 vendor SAXON 6.2 from Michael Kay
> !! XSLT 1.1 required
>
Saxon still returns "1.0" from system-property('xsl:version'), although it
implements (about 95% of) xsl:document. I reckoned I should only switch to
returning 1.1 when I felt Saxon could claim conformance with 1.1. Perhaps I
should really be returning 1.05.

Better is to test element-available('xsl:document'), or to use xsl:fallback.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread