[xquery-talk] Collections - family relationships

Michael Kay mike at saxonica.com
Mon Jan 6 04:31:20 PST 2014


On 6 Jan 2014, at 12:07, Ihe Onwuka <ihe.onwuka at gmail.com> wrote:

> Thank you. I'm not wishing to sound uncharitable or rude, but I deliberately didn't ask for a solution because I wanted to focus on the original question.
> 
> Consider the use case in the context of  someone who did not have access to  XQuery 3.0.
> 

Then you solve the problem using the clumsy grouping facilities of XQuery 1.0, i.e. use distinct-values() to find the distinct persons, then select the reviews for each of those distinct persons.

Michael Kay
Saxonica


More information about the talk mailing list