RE: XQuery implementations

> 
> Mary Fernandez wrote:
> 
> > The query below has several bugs.  There is no such
> > expression as:  
> >   document(/db/quiz/data)
> > in XPath.
> 
> If there is an outer focus, wouldn't /db/quiz/data
> evaluate to an element that gets atomized?

Yes; though before that happens, the processor will probably have reported
that document() is an unknown function. It's now called doc().

Michael Kay

Received on Friday, 21 November 2003 18:06:22 UTC