title: Using XPath expression how can i get the first text node immediately following a node?
body: <p>I want to get to the exact node having this text: 'Company'. Once I get to this node I want to get to the next text node immediately following this node because this contains the company name. How can I do  this with Xpath?</p>
  
  <p>Fragment of XML is:</p>
  
  <pre><code>&lt;div id="jobsummary"&gt;
      &lt;div id="jobsummary_content"&gt;
          &lt;h2&gt;Job Summary&lt;/h2&gt;
          &lt;dl&gt;
              &lt;dt&gt;Company&lt;/dt&gt;
              &lt;!-- the following element is the one I'm looking for --&gt;
              &lt;dd&gt;&lt;span class="wrappable"&gt;Pinpoint IT Services, LLC&lt;/span&gt;&lt;/dd&gt;
              &lt;dt&gt;Location&lt;/dt&gt;
              &lt;dd&gt;&lt;span class="wrappable"&gt;Newport News, VA&lt;/span&gt;&lt;/dd&gt;
              &lt;dt&gt;Industries&lt;/dt&gt;
              &lt;dd&gt;&lt;span class="wrappable"&gt;All&lt;/span&gt;&lt;/dd&gt;
              &lt;dt&gt;Job Type&lt;/dt&gt;
              &lt;dd class="multipledd"&gt;&lt;span class="wrappable"&gt;Full Time&lt;/span&gt;&lt;/dd&gt;&lt;dd class="multipleddlast"&gt;&lt;span class="wrappable"&gt; Employee&lt;/span&gt;&lt;/dd&gt;
          &lt;/dl&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I got to the Company tag with following xpath: <code>//*[text()= 'Company']</code>
  Now I want to get to the next text node. My XML is dynamic. So I can't hardcode the node type like <code>&lt;dd&gt;</code> for getting the company value. But this is for sure that the value be in the <strong>immediate next text node</strong>.</p>
  
  <p><strong>So how can I get to the text node immediately after  the node with text as Company?</strong></p>