[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: versions and forwards compatibility

Subject: RE: versions and forwards compatibility
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 23 Oct 2000 14:06:12 +0100
RE: versions and forwards compatibility
> Mike, I already confessed that I give up. I don't understand 
> what does it mean when I write :
> 
> <xsl:stylesheet  
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
>     version="1.0">
> 
> I simply don't understand what does it mean. If I can 
> insert constructions of XSLT v 1.1 into my stylesheet
> and processor will not behave differently comparing to 
> situation when I use  
> 
> <xsl:stylesheet  
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
>     version="1.1">
>  
> What can I say? Nothing. I have no understanding what is this 
> 'version' about. Is it written somewhere ?

The effect is described in XSLT section 2.5.

If you specify version="1.0", then an XSLT 1.0 processor must report an
error if you use an XSLT or XPath construct that is not defined in version
1.0.

If you specify version="2.0", say, then an XSLT 1.0 processor must attempt
fallback processing before reporting an error when you use such a construct.
The intent is that you can write a stylesheet that uses XSLT 2.0 features
but defines fallback processing to be invoked if it is run with an XSLT 1.0
processor.

Mike Kay


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.