Hello,

I cannot get the value of node into header. what I'm doing wrong here?

<entry xmlns="http://www.w3.org/2005/Atom";>
        <id>123</id>
</entry>


.split(body().tokenizeXML("entry", "entries"))
.log("${body}")
.setHeader("entry", xpath("/c:entry/id/node()").namespace("c",
"http://www.w3.org/2005/Atom";))

but header is then entry =>
com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList not the value of id
node.

I'd expect camel would convert node into string => 123



--
View this message in context: 
http://camel.465427.n5.nabble.com/help-with-getting-xpath-value-tp5749286.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to