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

RE: Re: The Perils of Sudden Type-Safety in XPath 2.0

Subject: RE: Re: The Perils of Sudden Type-Safety in XPath 2.0
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 20 Feb 2003 09:14:15 -0000
RE:  Re: The Perils of Sudden Type-Safety in XPath 2.0
> I would think that if you set your 
> version to 1.0, it would support only 1.0 elements, and not 
> provide the other functionality available in 2.0 specs. It 
> seems to me a better solution would be another kind of 
> switch, like, XPath = "1.0" and XPath = "2.0" within the 
> stylesheet element.

That's one viewpoint, and the XSL WG hasn't yet made a decision on this.

However, if you want to write a stylesheet that can run under both 1.0
and 2.0 processors, then it has to be a legal XSLT 1.0 stylesheet, and a
stylesheet that contained the attribute XPath="1.0" would not be.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 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.