title: Scala - Completely remove namespace from xml
body: <p>I have some xml: </p>
  
  <pre><code>&lt;item name="ed" test="true"
    xmlns="http://www.somenamespace.com"
    xmlns:xsi="http://www.somenamespace.com/XMLSchema-instance"&gt;
    &lt;blah&gt;
       &lt;node&gt;value&lt;/node&gt;
    &lt;/blah&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>I want to go through this xml and remove all namespaces completely, no matter where they are. How would I do this with Scala?</p>
  
  <pre><code> &lt;item name="ed" test="true"&gt;
    &lt;blah&gt;
       &lt;node&gt;value&lt;/node&gt;
    &lt;/blah&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>I've been looking at RuleTransform and copying over attributes etc, but I can either remove the namespaces or remove the attributes but not remove the namespace and keep the attributes. </p>