Using the following I can generate the XML with updated text:
xmlstarlet ed -u 'value to change' -v newValue source.xml
But how can I make changes to the same file and save it?
I need to run xmlstarlet
a couple of times to make changes in the same file.