W3C home > Mailing lists > Public > www-ql@w3.org > October to December 2001

Re: XQuery and Web services

From: Vadim Draluk <vadim@draluk.net>
Date: Wed, 5 Dec 2001 18:04:03 -0800 (PST)
Message-ID: <20011206020403.20057.qmail@web13502.mail.yahoo.com>
To: www-ql@w3.org
Vassilis,

there'd be nothing wrong with giving service's URL as
a parameter to the document() function if this URL
were just an Internet address. However, in reality it
has to contain the entire input document. It makes the
syntax extremely ugly (to my taste). Worse, it does
not allow to produce such a document dynamically
within the XQuery itself.

Cheers

Vadim

--- Vassilis Papadimos <vpapad@cse.ogi.edu> wrote:
> On Wed, Dec 05, 2001 at 02:16:57PM -0800, Vadim
> Draluk wrote:
> > The apparent difficulty is in the difference
> between
> > documents and Web services, the latter being
> functions
> > mapping one set of documents into another. There's
> no
> > way I can see in XQuery to explicitly specify
> input
> > documents (hope no one would suggest putting them
> into
> > the URL parameter of the document() function). 
> 
> I'm probably just being naive here, but why is it
> not OK to give the
> service URL as a parameter to document? What
> prevents document()
> from working with 'virtual' documents?
> 
> In database terms, a 'service' is just a view,
> what's wrong with 
> querying that view, even if it's not materialized?
> 
> Best regards,
> 
> Vassilis Papadimos.
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
Received on Wednesday, 5 December 2001 21:04:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT