refract XQuery source code