Hi We cannot see your XML code snippets in this mail. Neither can we see that from the nabble link.
On Mon, Feb 4, 2013 at 12:59 PM, dkum003 <dhananjay.ku...@amadeus.com> wrote: > Hi, > > I am using DSL way of camel. At a certain point my exchange body has an xml > with a list of certain tag say > > > > > > > > How can i invoke the count function in the route to know the number of tags. > > I tried > > .setHeader("count",xpath("count(A)") > > But no luck.... > > Please help > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Calling-count-function-in-the-camel-route-tp5726886.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen