On Mon, Jan 6, 2014 at 2:30 PM, Andrew Welch <[email protected]>wrote:
> This post: > > > I want to find all reviews written by people that only wrote 1 review. I > > wrote > > > > 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. > > > > The thing that seemed most natural to fix this was to supplement the > > predicate to say there should be no sibling review by the same > > reviews/@person. > > ...followed by this: > > > Note I did not post asking for code > > ...is puzzling. If you post code, don't be surprised if people post > code back. Even if you don't want it, someone in the archives might Of course it's puzzling. You lopped off the end of my sentence while quoting it. What I actually said was "Note I did not post asking for code for a solution.". Still puzzled .... look at the original post of the thread.
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
