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

RE: xPath 2.0, XSLT 2.0 ... size increase over v1.0

  • To: "Erik Bruchez" <erik@b...>,<xml-dev@l...>
  • Subject: RE: xPath 2.0, XSLT 2.0 ... size increase over v1.0
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 10 Jun 2003 12:05:34 -0700
  • Thread-index: AcMvgZnNTXefMwIBQDCl488+iBvIZgAALILp
  • Thread-topic: xPath 2.0, XSLT 2.0 ... size increase over v1.0

xpath index
When last I looked it was impossible to avoid the new typing features of XSLT 2.0 because even queries like 
 
<xsl:value-of select="/foo + 1" />
 
that worked in XSLT 1.0 were not valid. However I am no longer directly involved with that family of technologies so things may have changed since then. 
 
OK, I just looked so it seems there is now an "XPath 1.0 Compatibility Mode" flag which can be switched on to give 1.0 semantics to XSLT 2.0. It seems you  are right then and folks can just ignore a lot of the typing features of XSLT 2.0 and just use it as XSLT 1.0 with a lot more functions plus some minor tweaks. Nice. 

________________________________

From: Erik Bruchez [mailto:erik@b...]
Sent: Tue 6/10/2003 11:52 AM
To: xml-dev@l...
Subject: Re:  xPath 2.0, XSLT 2.0 ... size increase over v1.0



Dare Obasanjo wrote:

 > Of all the things beginners have difficulty with I'd expect that
 > telling them they need an explicit function call to convert a RTF to
 > a node set ranks low in complexity compared to just explaining
 > XSLT's functional nature or even worse explaining the static and
 > strong typing rules of XSLT 2.0.

The way I see things, in a first phase most people just won't use the
typing features of XSLT 2.0 and just use it as a better XSLT 1.0. I
may be wrong. Time will tell.

Regarding the difficulties, I agree, but it's in general easier to
teach a language that is well-designed rather than one that is not. So
teaching XSLT's functional nature may be difficult, but at least it is
based on sound concepts. RTFs are not. In passing, you can use XSLT in
a very imperative style, and many people just use it this way.

-Erik


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.