On 6 Jan 2014, at 12:07, Ihe Onwuka <[email protected]> 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 _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
