title: Unable to get the node value using xpath in camel
body: <p>I am trying to extract a node value from an input xml in camel and below are the sample xml and sample route that i have.</p>
  
  <pre><code>&lt;root&gt;
      &lt;jobs&gt;
            &lt;job id="1"&gt;Salesman&lt;/job&gt;
            &lt;job id="2"&gt;Manager&lt;/job&gt;
      &lt;/jobs&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Here i want to fetch the 1st job which is Salesman.</p>
  
  <p>Route</p>
  
  <pre><code>from("file:src/data?noop=true")
  .setHeader("someHeader",xpath("/root/jobs/job"))
  .to(someCustomComponent://foo);
  </code></pre>
  
  <p>When i retrieve the header, iam getting an instance of DTMNodeList from which i need to extract the node value after iterating.</p>
  
  <p>Iam expecting the value to be retrieved as string. How do i do that?</p>
  
  <p>Thanks.</p>
  
  <p>Regards
  Senthil Kumar Sekar</p>