I want to replace a specific value in xml file.
My Test XML is as below -
<Field Name="ABC" IsArray="false" IsLocked="false">
<Description>THIS IS FOR ABC VALUE</Description>
<Comment></Comment>
<PropertyList>
<Property Name="ABC" Type="Boolean">
<DefaultValue>false</DefaultValue>
</Property>
</PropertyList>
<PropertyValueList>
<PropertyValue PropertyName="ABC">
<Value>true</Value>
</PropertyValue>
</PropertyValueList>
</Field>
I want to change value from true to false only for PropertyName=ABC
Any suggestions? sed/awk/perl anything would do.