title: Adding explicit namespace attribute to particular xml tags
body: <p>In a quick-and-dirty conversion from XML generated by one program (htlatex) to another (ArborText Editor), I need to replace all XML of the following form</p>
  
  <pre><code>&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
  &lt;mn&gt;
  ....
  &lt;/mn&gt;
  &lt;/math&gt;
  </code></pre>
  
  <p>with</p>
  
  <pre><code>&lt;m:math xmlns:m="http://www.w3.org/1998/Math/MathML"&gt;
  &lt;m:mn xmlns:m="http://www.w3.org/1998/Math/MathML"&gt;
  ....
  &lt;/m:mn&gt;
  &lt;/m:math&gt;
  </code></pre>
  
  <p>Is there a cleaner <em>easy</em> way to achieve this rather than searching for tags <code>&lt;math</code>, <code>&lt;mn&gt;</code> etc. and replacing them? Or can this be done via xslt?</p>