title: Is there a way to get innerText of only the top element (and ignore the child element's innerText)?
body: <p>Is there a way to get innerText of only the top element (and ignore the child element's innerText) ?</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;div&gt; 
     top node text 
     &lt;div&gt; child node text &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to get the "top node text" while ignoring "child node text" ? innerText property of top div seem to return concatenation of both inner , top text.</p>