(: Find the first authors in the document. Over bibliography.xml. parke godfrey 2013-11-05 Here, we are finding the first authors. We did this via a position test on node-match "author". (Position numbering in XQuery starts with "1"!) But, position with respect to what? This is testing whether it is the first author node in traversal under its respective parent node! In bibliography.xml, "author" always appears as a "child" of paper. So, this is finding the first author of each paper. :) doc("bibliography.xml")//author[1]