|
From: | Per Bothner |
Subject: | Re: [Qexo-general] Running queries against user-specified XML files |
Date: | Thu, 22 Mar 2007 10:49:02 -0700 |
User-agent: | Thunderbird 1.5.0.9 (X11/20070212) |
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 address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |