List titles of all books in a bib element. Put each title in a book element.
bib
book
<bib> FOR $t IN document("http://www.bn.com")/bib/book/title RETURN <book> $t </book> </bib>
Adapted from XML Query Use Cases