XML find and change node script
This is a script written in ruby designed to find a specified node in an XML file, and replace one value with another.
Usage example:
changenode /home/me/foo bar.xml name bob john will find all ‘name’ nodes in bar.xml and replace ‘bob’ with ‘john’
The code can be found on github here
Advertisement