{ for $b in doc("bib.xml")/bib/book, $t in $b/title, $a in $b/author return { $t } { $a } }