Added language variable to XQuery call