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

Re: Anyone wanna speculate about what this means?


Re:  Anyone wanna speculate about what this means?
At 08:28 AM 2/18/2003 +1300, Berend de Boer wrote:

>Could you expand a bit on those "sound technical reasons"? I just
>finished doing an XPath implementation on top of a database. As I
>understood it, XPath expressions form the basis for XQuery as well as
>XSLT, so the distinction should be in xSLT specific things, right?

Query optimization is often done by looking at a schema and looking at an 
expression, determining all the things that the expression can mean in 
light of the schema, and rewriting the query so that it means the same 
thing but can be executed much more efficiently.

The template matching and recursive descent approach taken in XSLT makes it 
harder to analyze all the possible ways that a template might be used to 
produce a result. That doesn't mean it's impossible, but nobody has done a 
very good job at it so far, as far as I know.

There *are* a few issues with XPath - reverse axes are at least much 
harder, especially combined with the ordering semantics of "/". I think 
there are several papers claiming to have made important progress for 
optimizing general XPath expressions, including axes, but I haven't read 
them. If you restrict XPath to the forward axes, I don't think it causes 
problems.

Jonathan 


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.