for $resource in collection('/db/Profiles/')//Resource where $resource/ID/string() eq '' return $resource