Re: What's implementable in XPath expressions?

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 UTC