Use internal resolver for XQuery doc functions