how can I change the value in xml using bash
<resources>
<string name="app_name">Keep Accounts</string>
<string name="login">"login"</string>
<string name="login_password">"password:"</string>
<string name="login_account_hint">input to login</string>
<string name="login_password_hint">input your password</string>
<string name="login_fail">login failed</string>
</resources>
For example I want to change the value "Keep Accounts" to "Keep Accounts 2".The "app_name" may not only be "Keep Accounts",but also other values,let's say XXX,but the "app_name" is certain,I want the output be:
<resources>
<string name="app_name">XXX 2</string>
<string name="login">"login"</string>
<string name="login_password">"password:"</string>
<string name="login_account_hint">input to login</string>
<string name="login_password_hint">input your password</string>
<string name="login_fail">login failed</string>
</resources>