On Wed, 2016-07-06 at 16:02 +0100, James Sears wrote:
let $void := prof:void(for $book in //book
Are you able to make that //book more specific? or can book elements occur at any level? BaseX is possibly fetching every element node in the database to see if it's an element of type book or not.
or can you look at the generated query plan in more detail?
Liam