[MarkLogic Dev General] External variables and HTTP app server
David Sewell
dsewell at virginia.edu
Fri Jan 11 10:01:56 PST 2008
Is there any way to pass an external variable to the main query when it
is running via an HTTP app server? I.e., making it possible to run
define variable $x as xs:string external
$x
without throwing an "undefined external variable error"?
(I know I can use HTTP request fields to pass "external variables". But
I have some code I'd like to be able to run without modification via
XDBC, which returns () for xdmp:get-request-field(), etc. So is there
any mechanism of passing a run-time external variable to the
server that works the same way under either HTTP or XDBC app servers?)
David
--
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: dsewell at virginia.edu Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
More information about the General
mailing list