title: SQL Server XML Replace values in attribute
body: <p>I want to replace the value in an attribute in a XML. This attribute comes multiple times in the xml. How can i replace these all at once</p>
  
  <p>my xml lools some what like below :</p>
  
  <pre><code> &lt;Example&gt;
    &lt;A&gt;
     &lt;B Type = "x"&gt;qqq&lt;/B&gt;
     &lt;B Type = "x"&gt;www&lt;/B&gt;
    &lt;/A&gt;
    &lt;C&gt;
     &lt;D Type = "x"&gt;aaa&lt;/D&gt;
     &lt;D Type = "x"&gt;uuu&lt;/D&gt;
    &lt;/C&gt;
   &lt;/Example&gt;
  </code></pre>
  
  <p>I want to replace all x with y</p>