title: How to XmlObject.selectPath() by *default* namespace?
body: <p>I found this method of querying an XmlObject to return an element containing a particular namespace:</p>
  
  <pre><code>   XmlObject xobj = XmlObject.Factory.parse(
              "&lt;a xmlns='testA'&gt;\n" +
              "  &lt;B:b xmlns:B='testB'&gt;\n" +
              "    &lt;B:x&gt;12345&lt;/B:x&gt;\n" +
              "  &lt;/B:b&gt;\n" +
              "&lt;/a&gt;");
  
      // Use xpath with namespace delcaration to find &lt;B:b&gt; element.
      XmlObject bobj = xobj.selectPath(
              "declare namespace B='testB'" +
              ".//B:b")[0];
  </code></pre>
  
  <p>This is pretty straightforward and can be used for other named namespaces, but how do I do the same for a <strong>default</strong> namespace? i.e. <code>xmlns=</code> like this:</p>
  
  <pre><code>   XmlObject xobj = XmlObject.Factory.parse(
              "&lt;a xmlns='testA'&gt;\n" +
              "  &lt;b xmlns='testB'&gt;\n" +
              "    &lt;x&gt;12345&lt;/B:x&gt;\n" +
              "  &lt;/b&gt;\n" +
              "&lt;/a&gt;");
  </code></pre>
  
  <p>The <a href="http://xmlbeans.apache.org/docs/2.0.0/guide/conSelectingXMLwithXQueryPathXPath.html" rel="nofollow">xmlbeans documentation</a> only refers to <em>named</em> namespaces... Is there a way to accomplish what I am looking for?</p>