title: Get default namespace from XMLDocument in JS
body: <p>I loaded XMLDocument with XMLHttpRequest.</p>
  
  <pre><code>&lt;root xmlns="http://somesite.org/ns"&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p><code>http://somesite.org/ns</code> is the default namespace. I can use function <a href="https://www.w3.org/TR/dom/#node" rel="nofollow">Node.isDefaultNamespace</a> for check if some namespace is default (true/false) and it's work well. </p>
  
  <p>But how can I get default namespace from XMLDocument?</p>
  
  <p>Is there somethink like <code>DOMString Node.getDefaultNamespace()</code>?</p>