[xquery-talk] Function and Query Evaluation with No XML Tags Error

David Carlisle davidc at nag.co.uk
Tue Feb 26 16:30:30 PST 2008


 
> I think I am having a different issue different from what I had
> several weeks ago.

No, it's exactly the same issue, and I'm not sure how I can explain it
any differently, However there are plenty of others on the list so I
hope someone else can find different words.

one last try.


$ad is a sequence of strings length 1, so in the function body $seq is a
sequence of length 1, so distinct-values($seq) is the same as $seq
so $doc is the same aa $seq  you have an order by clause which thus
can't order anything (as there is only one value) you then return this
string as the content of the ad element.


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


More information about the talk mailing list