This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: keys and idrefs - XSLT2 request?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] keys and idrefs - XSLT2 request?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 10 Oct 2001 11:32:20 +0100
- References: <9B66BBD37D5DD411B8CE00508B69700FE7A580@pborolocal.rnib.org.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I was hoping that the processor would see 2.0, know it was a 1.0
> processor, and stop, right there, or at least give a warning.
No, it would go on, and process things via fallback, this behaviour is
specified in the xslt 1.0 spec. But as Jeni notes you can only fallback
or detect new xsl elements or new xpath functions. You can't do anything
if the same syntax means something different.
XSLT 1.0 says:
Thus, any XSLT 1.0 processor must be able to process the following
stylesheet without error, although the stylesheet includes elements from
the XSLT namespace that are not defined in this specification:
<xsl:stylesheet version="1.1"
so just putting 1.1 or 2.0 in the version number will _not_ produce any
warning if the stylesheet is run on a 1.0 processor.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list