|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery & web server in browserLiam Quin liam at w3.orgThu Jun 18 12:19:37 PDT 2009
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






