W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2001

Re: What's implementable in XPath expressions?

From: Michael Dyck <MichaelDyck@home.com>
Date: Thu, 26 Apr 2001 20:50:49 -0700
Message-ID: <3AE8EC99.3C70C73A@home.com>
To: Howard Katz <howardk@fatdog.com>
CC: www-ql@w3.org
Howard Katz wrote:
> 
> Michael Dyck wrote:
> >
> > <http://www.w3.org/TR/xpath#node-sets>, the corresponding point
> > in the XPath spec, says
> >
> >     The / and // operators compose an expression and a relative
> >     location path. It is an error if the expression does not
> >     evaluate to a node-set.
> 
> That's the bigger question then, isn't it: Does [ElementConstructor]
> evaluate to a node-set, or is it simply there to decorate serialized XML?

Section E.2.2.2 maps an XQuery element constructor to an Algebra element
value, so yes, it evaluates to a node-set.

> If it produces node-sets, how do I compose against it?

Not sure what you mean.

-Michael
Received on Thursday, 26 April 2001 23:52:25 GMT

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