I suggest adding the camel-saxon dependency and use:
...
Best,
Christian
-
Software Integration Specialist
Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member
https://www.linkedin.com/pub/christian-mueller/11/551/642
O
Am having a similar issue and i get this error message,
java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault
cannot be cast to org.apache.xml.dtm.DTMManager:
java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault
cannot be cast to org.apache.xml.dtm.DTMManager
Hi German,
This is more of an XPath question rather than a Camel-related one, but here
goes the answer.
Do you have multiple occurrences of element 'a'? The double slash traverses
the entire input and returns all elements with name 'a' regardless of where
in the document they are.
Anyway, try th
I don't think Camel xpath[1] can provide the function that you want.
You can use a bean method [2] with @Xpath annotation to do that kind of job.
[1]http://camel.apache.org/xpath.html
[2]http://camel.apache.org/bean-language.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
W