FOR $b IN document("http://www.biblio.com/books.xml")//book, $a IN $b/author WHERE $a/firstname = "Crockett" AND $a/lastname = "Johnson" RETURN $b