title: is there a way to combine xpath and regexp to extract parts of a node value?
body: <p>this is what I want...</p>
  
  <p>Assuming I'm trying to get at the value of 'B'</p>
  
  <pre><code>&lt;tree&gt;
  &lt;nodea&gt;
  &lt;nodeb&gt;
  A=foo;
  B=bar;
  C=goo;
  &lt;/nodeb&gt;
  &lt;/nodea&gt;
  &lt;/tree&gt;
  </code></pre>
  
  <p>the following is magical syntax which would make sense... I'm looking for something comparable that actually works :)</p>
  
  <pre><code>string = "./nodea/nodeb/[ REGEX( 'B=(.*?);' ) ]/ $1"
  </code></pre>
  
  <p>Is there anything like this in any java xpath library?</p>