title: How to determine if there is text at a node with xpath/schematron
body: <p>I'm looking for a way to write an xpath/schematron test to identify a specific node any time it contains any sort of non-white space, unwrapped text anywhere directly within the node (meaning possibly among, but not in a child element).  So if my xml looks like this:</p>
  
  <pre><code>&lt;root&gt;
  ...
   &lt;node&gt;
       &lt;arbitraryChild/&gt;
       Find me
       &lt;arbitraryChild&gt;Don't find me&lt;/arbitraryChild&gt;
       more text
   &lt;/node&gt;
   ...
   &lt;node&gt;
       &lt;arbitraryChild/&gt; &lt;arbitraryChild/&gt;
       &lt;arbitraryChild&gt;Don't find me&lt;/arbitraryChild&gt;
   &lt;/someNode&gt;
  ...
  &lt;/node&gt;    
  </code></pre>
  
  <p>It would identify the first instance of somenode, but not the second.  I've tried about every variation of contains(...), text(), and test="..." I can think of, but clearly I'm approaching this from the wrong direction.</p>