Re: keys and idrefs - XSLT2 request?
> 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format