title: How to find and replace an attribute value in a XML
body: <p>I am  building a "XML scanner" in Java that finds attribute values starting with  "!Here:". The attribute value contains instructions to replace later.
  for example I have this xml file filled with records like</p>
  
  <pre><code>&lt;bean value="!Here:Sring:HashKey"&gt;&lt;/bean&gt;
  </code></pre>
  
  <p>How can I find and replace the attribute values only knowing it starts with <code>"!Here:"</code>?</p>