title: Getting text inside p-element Selenium/java xpath
body: <p>I am trying to do some test using Selenium and I am facing some problems. 
  Suppose I have the following:</p>
  
  <pre><code> &lt;p&gt;
     &lt;label for="something"&gt;whatever :&lt;/label&gt;
     what I really want
   &lt;/p&gt;
  </code></pre>
  
  <p>I would like to be able to get only text what I really want, instead of all texts inside p-element
  Getting text inside label is possible by doing :</p>
  
  <pre><code> selenium.getText("//p/label[@for='something']");
  </code></pre>
  
  <p>Does anyone know how to get only in my case "what I really want"</p>
  
  <p>Thanks!</p>