I'm trying to make a script that changes a few values then deploys. I have this XML:
<application>
<NVPairs name="Variables">
<NameValuePair>
<name>Parameter/1</name>
<value>MyOtherValue</value>
</NameValuePair>
<NameValuePair>
<name>Parameter/2</name>
<value>MyValue</value>
</NameValuePair>
</NVPairs>
</application>
Which I am trying to edit with SED. The NVPAIRS and NameValue seems to be messing me around a bit. Can I ask for suggestions how to deal with NameValuePair? I did try XMLStarlet as well, but same problem. Can not seem to deal with NameValuePairs.