8

using environment variable inside xml

view full story
linux-howto

http://stackoverflow.com – I am on linux machine. My Application is using a xml file. In this xml file, a absolute File System path is mentioned. like., <ENTITY webapp_root "/usr/red/apache-tomcat/webapps/ROOT"> and this entity is referenced in many other properties in the same xml file. like., <PROPERTY NAME="DOCS">&webapp_root/docs</PROPERTY> Now, the file path is too explicit & I dont want this. I was wondering if I could set this path in the linux & reference this path inside the xml. I am not getting proper answer with necessary steps. anywhere in internet. It would be real (HowTos)