Allow env variables in XML config

Something like

<foo>{env(varname)}</foo>
<bar attr="{env(varname)}"/>

which then invokes a getenv()