[xquery-talk] XQuery 3.0 and maps in Saxon

Michael Kay mike at saxonica.com
Sun Jan 29 10:32:55 PST 2012


On 28/01/2012 23:24, Jakub Maly wrote:
> A follow-up question: I would like to call XQuery queries from XSLT
> stylesheet, I am using saxon:import-query, but with XQuery 3.0, Saxon is not
> happy: it outputs an error "XQuery 3.0 was not enabled when invoking Saxon"
> - can the -qversion:3.0 be somehow propagated to the XQuery processor from
> the XSLT?
>
>
I would encourage you to use the saxon-help list for a question that is 
quite so product-specific.

I haven't tested this, but assuming you are running from the 
net.sf.saxon.Transform command line, try setting

--queryVersion:3.0

Michael Kay
Saxonica




More information about the talk mailing list