25 Mar
2017
25 Mar
'17
7:05 p.m.
Hi Eliot, fn:environment-variable should do the job; proc:property [1] can be used to access system properties. Hope this helps, Christian [1] http://docs.basex.org/wiki/Process_Module#proc:property On Sat, Mar 25, 2017 at 7:01 PM, Eliot Kimber <ekimber@contrext.com> wrote:
I’m running BaseX in a Docker container started via docker-compose. I need to communicate some local configuration details to BaseX. Can set these as environment variables (e.g., using .env with docker-compose) but I don’t see anything in the docs that would let me access environment variables from XQuery.
Is there a built-in way to do this?
Thanks,
Eliot
-- Eliot Kimber http://contrext.com