I want to edit the config file of a program that is an XML
<software>
<settings>
....
</setting name="local directory" type="string">/home/username/</setting>
....
</settings>
</software>
What is the easiest way to do this from a bash script. Thanks