title: In XPath how to select the element content
body: <p>Is there a way of writing an XPath expression to select the content of the element.</p>
  
  <p>e.g.</p>
  
  <pre><code>&lt;Element&gt;xxx&lt;/Element&gt;
  </code></pre>
  
  <p>Assuming I can write XPath (/Element) to get <code>Element</code> how do I tweak the XPath to get xxxx returned rather than the Element wrapper?</p>
  
  <p><strong>EDIT/ANSWER</strong></p>
  
  <p>To do this in dom4j world use the <code>Element.valueOf(String xpathExpression)</code> rather than the .selectXXX() methods.</p>