RE: XQuery implementations

"Kay, Michael" <[email protected]>
Newsgroups gmane.comp.web.query-languages
Message-ID <[email protected]>
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.