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

RE: version and URI for XSLT 2.0

Subject: RE: version and URI for XSLT 2.0
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 7 Jun 2004 23:39:08 +0100
uri in xslt
It is recommended that you set version="2.0" on a stylesheet that is making
use of new 2.0 features, and leave it at "1.0" otherwise.

An XSLT 2.0 processor will handle a stylesheet that specifies "1.0" slighly
differently from one that specifies "2.0" - it will invoke backwards
compatibility mode which gives weaker type checking. However a 2.0 processor
won't prevent a stylesheet using 2.0 features just because it specifies 1.0
in the header.

Michael Kay 

> -----Original Message-----
> From: Barry Lay [mailto:blay@xxxxxxxxxxxxxxxxxxx] 
> Sent: 07 June 2004 19:33
> To: xsl-list
> Subject:  version and URI for XSLT 2.0
> 
> I am in the process of converting my stylesheets over to XSLT 
> 2.0 using 
> Saxon to process them.  I noticed that although I neglected to update 
> the stylesheet element attributes it still works with the new 2.0 
> features.  That is, it still looks like:
> 
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>  ...
> </xsl:stylesheet>
> 
> What should version= and xmlns:xsl= be set to?
> 
> Thanks,
> Barry
> 
> --+------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> 



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.