1

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.

zx485
  • 28,498
  • 28
  • 50
  • 59
Ash Panwar
  • 317
  • 1
  • 4
  • 12

0 Answers0