queryFile = XMARK_HOME + '/' + queryFile;
final Configuration config = new Configuration();
config.setHostLanguage(Configuration.XQUERY);
final StaticQueryContext staticContext = new StaticQueryContext(config);
staticContext.setBaseURI(new File(queryFile).toURI().toString());
XQueryExpression exp = staticContext.compileQuery(IOUtils.toString(new FileInputStream(queryFile)));
final DynamicQueryContext dynamicContext = new DynamicQueryContext(config);
StringWriter res_sw = new StringWriter();
Properties props = new Properties();
//props.setProperty(OutputKeys.METHOD, "text");
props.setProperty(SaxonOutputKeys.WRAP, "no");