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