|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery & web server in browserRobert Koberg rob at koberg.comThu Jun 18 19:59:44 PDT 2009
On Jun 18, 2009, at 4:04 PM, 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) > >>> 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. > >>> But that's just a feeling, I do not have any numbers. > >> I was talking about the ability for the XML DB vendors finding it >> easier to have XQuery run natively in their DBs as opposed to XSL. > > Yes, but I wonder why XQuery would be more efficient than XSLT > "natively on the server"? This is what I meant by 'running natively' on an XML DB: Most basically because XQuery, running natively on an XML DB, does not need to serialize out a DOMish object to work on. XSLT does. Say you want to do a transformation using data from your entire DB or files. For XSLT you would need to load all documents into memory. With XQuery on an XML DB, you don't. I would love to have XSL run natively. best, -Rob > > > I would expect them to be as efficient as the other, excepted that > XQuery module system could ease compilation, and on the other hand > XSLT facility for grouping and pattern matching that should benefits > runtime for those features (opposed to writing them by hand in > XQuery.) > > Regards, > > -- > Florent Georges > http://www.fgeorges.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
|






