FOR $u IN document("users.xml")//user_tuple WHERE NOT exists(document("items.xml")//item_tuple[offered_by=$u/userid]) RETURN $u/name SORTBY(.)