that was set up for and/or by this user in the OS.
Say, you set WEB_DIR as an environment variable pointing to certain folder or root directory
Could you go like this
<?xml version='1.0' encoding='utf-8'?>
<XMLExample Att1="69" Att2=$WEB_DIR"rest_of_it">
.. . .
</XMLExample>
for attributes or values?
And when a program parses the XML doc it should pick the current env.
var. value.
I think of using it for tomcat's configuration files which are more XMLish than true XML ones.
There are ways to pass in parameters to the JVM when you run a java prog., but I don't know of a way to read in an external environment variable from the OS into an updated conf doc and use this value
How do you do something like that?
Say, you set WEB_DIR as an environment variable pointing to certain folder or root directory
Could you go like this
<?xml version='1.0' encoding='utf-8'?>
<XMLExample Att1="69" Att2=$WEB_DIR"rest_of_it">
.. . .
</XMLExample>
for attributes or values?
And when a program parses the XML doc it should pick the current env.
var. value.
I think of using it for tomcat's configuration files which are more XMLish than true XML ones.
There are ways to pass in parameters to the JVM when you run a java prog., but I don't know of a way to read in an external environment variable from the OS into an updated conf doc and use this value
How do you do something like that?