Insert value of env variable in xml file

Hello,
I have the following variables set in my env

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

cat sample.xml
:::::::::::::::
:::::::::::::::
<property name="FILE"></property>
:::::::::::::::::::::::
::::::::::::::::::::::
<property name="Interval"></property>

So, the output should be

cat sample.xml
:::::::::::::::
:::::::::::::::
<property name="FILE">/home/jak/sample.xsd</property>
:::::::::::::::::::::::
::::::::::::::::::::::
<property name="Interval">4</property>

Thanks for your time - Jak

Try

awk -v file="$MY_XSD_FILE" -v Intrl="$MY_INTERVAL_VALUE" '/FILE"><\/property>/{sub("><",">"file"<",$0)}
/Interval"><\/property>/{sub("><",">"Intrl"<",$0)}1' sample.xml > temp_file

mv temp_file sample.xml

Thanks pamu - i will try it and let you know.

jak