David O'Callaghan wrote:
Is it possible to use Qexo to run a query in an xql file against a
user-specified XML file?
I suggest using an external variable:
foo.xq:
declare variable $xml-file external;
<result>{doc($xml-file)}</result>
qexo xml-file="/tmp/foo.xml" -f /tmp/foo.xq
This needs to be documented somewhere ...
--
--Per Bothner
per@xxxxxxxxxxx http://per.bothner.com/
_______________________________________________
Qexo-general mailing list
Qexo-general@xxxxxxx
http://lists.gnu.org/mailman/listinfo/qexo-general
|