Cleaning out things not related to XQuery