XQuery code of FOP2