let $library := doc("books.xml") let $seq := $library//author let $distinct := distinct-values($seq)