XQuery chapter finished