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

Re: XQuery -- Reinventing the Wheel?

  • From: Jonathan Robie <Jonathan.Robie@S...>
  • To: Uche Ogbuji <uche.ogbuji@f...>, Gerd Mueller <gerd@s...>
  • Date: Thu, 01 Mar 2001 10:29:08 -0500

Re: XQuery -- Reinventing the Wheel?
At 07:35 AM 2/26/2001 -0700, Uche Ogbuji wrote:

> > IMHO, the current XQuery spec. tries to much: it wants to select
> > _and_ transform, although selection would be enough. If I like to
> > transform the query results I use XSLT. This way XSLT and XQuery
> > would have a clear scope: One for transformation and the other for
> > selection.
>
>This is, I think, an important take on the discussion.  I think most of
>the pro-XQuery arguments (excepting the syntactical arguments, which I
>think are s much less important) point to efficiency of selection.
>
>So would there be anyproblem with making XQuery a super-selector for XSLT?
>That way the result-tree mechanism could be re-used, and there could be
>crucial clarity in exactly how XQuery builds on XPath.

I think that almost all of XQuery, with the exception of element 
construction, is plausible for use in XPath, which would make it common 
between XQuery and XSLT. Element construction is a small part of the 
language, and very convenient for writing short queries.

>If XSLT got, in addition to its current path selection, the ability to
>crunch cartesian products of information element containers, along with a
>lazy-evaluation scheme that allowed for efficient handling of interim
>results, wouldn't this address both camps' concerns?

Yes.

>BTW, thanks to Jonathan Robie for his reasoned and patient arguments.
>I've not come all his way yet, but I've learned much and amended some of
>my views on the matter.

Thanks!  I will sometimes drop out of the conversation for a few days or a 
week, but I'll be in and out on an ongoing basis.

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.