Camel 2.0-M3, trying setHeader like: <setHeader headerName="CamelFileName"> <xpath>substring(//atom:entry/atom:id/text(), 9)</xpath> </setHeader>
//atom:entry/atom:id/text() returns correct result, but if I try to use any of the XPath functions I get this error: org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: substring(//atom:entry/atom:id/text(), 9). Reason: javax.xml.xpath.XPathExpressionException Does Camel support XPath functions ? Thanks, Dragisa -- View this message in context: http://www.nabble.com/Error-when-using-XPath-functions-tp24817775p24817775.html Sent from the Camel - Users mailing list archive at Nabble.com.