> collection($sp:reviewsColl)/descendant::reviews[not(review[2])]
>
> but reviews has a @person attribute and that person may have 1 or more
> reviews in another collection - so that doesn't work.

In your collection of collections, group on @person then count the
size of the group.

-- 
Andrew Welch
http://andrewjwelch.com
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to