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

Re: A Query about View Construction in XML


xslt query view
This has in fact been implemented, just as the original poster described, by 
my former employer (http://www.nimble.com).
The query language was not XSLT or XQuery, but a version of XML-QL.

-Wayne Steele


>From: Joe English <jenglish@f...>
>To: xml-dev@l...
>Subject: Re:  A Query about View Construction in XML
>Date: Thu, 11 Apr 2002 07:49:40 -0700
>
>Dong Hui Zhuo wrote:
> >
> > Given a XML database DB, and a query Q1, either XQuery or XSLT, we refer
> > to the result of Q1(DB) (the result of running query Q1 against database
> > DB) as a view, say V, whose schema is Sv.
> >
> > Suppose we have another query Q2 (either XQuery or XSLT) which is
> > formulated against schema Sv (the schema of the view V) and the
> > size of view V too big to fit in memory, my questions are:
> >
> > 1) Is it possible that we evaluate Q2(V), (that is running Q2 against 
>the
> > result of Q1(DB)), without materializing (or write back to hard disk) 
>the
> > result of Q1(DB)?
> > 2) Does the answer depend on the type of query language, say XQuery or
> > XSLT?
>
>It depends on the query language and the implementation.
>XQuery certainly has the potential to implement this efficiently.
>The query language is closed under composition, so Q2(Q1(DB)) can be
>expressed as (Q2 . Q1)(DB).  Depends on how well the implementation
>can optimize (Q2 . Q1).
>
>For XSLT I think the answer is "only for a very limited set of
>queries", and determining if Q1 and Q2 are members of that set
>is so difficult that it's unlikely to be implemented by any
>XSLT processors.
>
>
>--Joe English
>
>   jenglish@f...
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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.