Hi Eliot,
Try the XPath function fn:environment-variable [1]
/Andy
[1] https://www.w3.org/TR/xpath-functions-31/#func-environment-variable
On 25 March 2017 at 18:01, 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