title: Java Xpath multiple elements with same name of a parent node
body: <p>I have an xml like below.</p>
  
  <pre><code>&lt;name&gt;
  &lt;value&gt;123&lt;/value&gt;
  &lt;value&gt;456&lt;/value&gt;
  &lt;value&gt;789&lt;/value&gt;
  &lt;/name&gt;
  </code></pre>
  
  <p>Now using java's Xpath query I tried below method</p>
  
  <pre><code>NodeList list3 = (NodeList) xpath.evaluate("name/value", element,XPathConstants.NODESET);
  </code></pre>
  
  <p>But it gives me only first value, how can I print all <code>&lt;value&gt;</code> tags ?</p>