This is my XML file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.abc.def" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>JoinTMA</name>
</widget>
I want to update the value of version="1.0.0" to version="2.0.0"
I tried with the following command on macOS
xml ed -N x="http://www.w3.org/ns/widgets" -u "/widget[@version='1.0.0']/@version" -v "2.0.0" fileName
But it did not update the version number