Custom xquery mode used in eXide