Good question, thanks.
I've said it before and will say it again, the documentation regarding Xquery is incomplete...
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”