title: DomXPath Selecting
body: <p>I have a problem with the DomXPath for selecting what I need. I have a structure like</p>
  
  <pre><code>&lt;div id="a"&gt;
    Something
      &lt;nobr&gt; Inside &lt;/nobr&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>What I want is to select only 'Something' not 'Inside'. I know how to select only 'Inside' or both of them in the same time like <code>//div[@id='a']</code> and then call <code>$obj-&gt;nodeValue</code>, but I couldn't find a way to select only 'Something'. Could anyone help me about this?
  Thanks.</p>
  
  <p><strong>Edit:</strong> If Something is changed to Something 123456 can you also give me a hint how to select only numeric values as 123456 as a bonus?</p>