Hi You get a NodeList - are you sure your xpath is only selecting a single node, so it can be returned as plain text?
On Thu, Dec 18, 2014 at 8:55 AM, sekaijin <jean-yves.terr...@sap.aphp.fr> wrote: > I've tried to use String.class argument to convert it in string but I get an > empty string. > > Thank to help me > I'm running camel 2.8.1 > > > Thank > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Java-DSl-XPATH-text-node-tp5760835p5760859.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/