[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

Robert Koberg rob at koberg.com
Thu Jun 18 20:06:38 PDT 2009


  xquery & web server in browser
On Jun 18, 2009, at 11:19 AM, Liam Quin wrote:

> 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.

Sorry, I was not clear with what I meant by running natively. I mean  
that a transformation (XQuery or XSL) can occur straight on the XML DB  
with converting to something the processor (XQuery or XSL) can consume.

best,
-Rob


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