title: How to exclude linebreak-only textnodes from text() XPath query?
body: <p>I want to query all textnodes from my DOM. However, I don't want to have these "markup-linebreaks", where there is a linebreak between HTML tags.</p>
  
  <p>So I'm trying to translate all whitespaces according <a href="http://www.stylusstudio.com/xsllist/200107/post61340.html" rel="nofollow">to here</a> and check if there're chars left:</p>
  
  <pre><code>/html/body//text()[not(translate(., '&amp;#20;&amp;#x9;&amp;#xA;&amp;#xD;', '') = '')]
  </code></pre>
  
  <p>This doesn't work, since it doesn't seams to be possible to check agains empty strings (which kind of makes sense, since it's not a text node then).</p>
  
  <p><em>Any other approach to filter this nodes?</em></p>