I am trying to use XQJ to pass in a Java object as an external variable
E.g. this could be the query
declare namespace u="java:package.User";
declare variable $user external;
I have a way of doing this using Saxon’s “proprietary” API, but can this be done using XQJ?
Any guidance warmly welcomed,