let $id := '2' for $p in doc('people2.xml')/people/person[@id=$id] return {$p/name/text()}