1

Insert value of env variable in xml file

view story
linux-howto

http://www.unix.com – Hello, I have the following variables set in my env Code: echo $MY_XSD_FILE /home/jak/sample.xsd echo $MY_INTERVAL_VALUE 4 I want to insert them between the xml tags in my xml file Code: cat sample.xml ::::::::::::::: ::::::::::::::: <property name="FILE"></property> ::::::::::::::::::::::: :::::::::::::::::::::: <property name="Interval"></property> So, the output should be Code: cat sample.xml ::::::::::::::: ::::::::::::::: <property name="FILE">/home/jak/sample.xsd</property> ::::::::: (HowTos)