Hello,

 

I have upgraded to the most recent Saxon 8.5.

 

The examples on the Saxon site show a variable called xquery:

 

XQueryExpression exp = xquery.compileQuery("//book/title");

 

I was thinking to produce this variable like this in order to test the examples above:

 

            Configuration config = new Configuration();

            config.setHostLanguage(Configuration.XQUERY);

 

            StaticQueryContext staticContext = new StaticQueryContext(config);

            QueryProcessor xquery = new QueryProcessor(staticContext);

 

 

But the QueryProcessor under the net.sf.saxon.query.* seems to be deprived, correct?

 

How do I do that now?

 

Thanks

Houman