[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

xquery & web server in browser

Liam Quin liam at w3.org
Thu Jun 18 12:19:37 PDT 2009


  xquery & web server in browser
On Thu, Jun 18, 2009 at 11:53:13AM +0000, Florent Georges wrote:
> Robert Koberg wrote:
> > Why? To me, the best thing about XQuery is that it can run
> > natively (and more efficiently than the more encompassing
> > XSL)

The XQuery implementations in SQL databases such as IBM DB2
and Oracle can go directly to the underlying data store,
bypassing the SQL layer.

>   Well, I think it depends (I mean XQuery more efficient
> than XSLT.)  If the query use dynamic dispatching of nodes
> (aka pattern matching) or grouping, I would expect XSLT to
> be more efficient.

I don't think there's any difference here.

If you're using apply-templates, that's native in XSLT and
you have to write your own in XQuery, so that may make a
difference.  Efficiency is something you have to measure,
though, not speculate upon, really... and all I can say
there is I've found two orders of magnitude between XQuery
runtimes for the same query on the same data, but that's not
uncommon for SQL queries either.

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/


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-2007 All Rights Reserved.