Re: Converting CSV to XML

2012-05-17 Thread ramesri
Yogesh, you can use camel flatpack component to parse the csv records. And then use a Velocity template to output it to desired xml. Thanks Ramesh On Thu, May 17, 2012 at 4:24 PM, Christian Mueller [via Camel] < ml-node+s465427n5711606...@n5.nabble.com> wrote: > You cannot use XSLT to transform

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-27 Thread ramesri
Thanks Eric for your input. Finally, I was able to resolve the problem by doing the following: and in the route: where getVelocityEscapeTool() returns an instance of EscapeTool. cheers ramesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-u

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-27 Thread ramesri
Camel] < > ml-node+s465427n5518097...@n5.nabble.com> wrote: > >> On Mon, Feb 27, 2012 at 2:44 AM, ramesri <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=5518097&i=0>> >> wrote: >> > Hi Christian >> > >> > I

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-27 Thread ramesri
This is the came version I use. I use it with fuse esb 2.8.0-fuse-01-13 On Mon, Feb 27, 2012 at 1:56 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5518097...@n5.nabble.com> wrote: > On Mon, Feb 27, 2012 at 2:44 AM, ramesri <[hidden > email]<http://user/SendEmail.jtp?type

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-26 Thread ramesri
sted, use > > > > > > > > Best, > Christian > > On Fri, Feb 24, 2012 at 6:07 PM, ramesri <[hidden > email]<http://user/SendEmail.jtp?type=node&node=5515124&i=0>> > wrote: > > > Thank you all for the inputs. Its just that I am new t

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-24 Thread ramesri
Velocity. However the > > > > > expression doesn't seem to be what you want. > > > > > > > Yeah in XML DSLs you can use to refer to a bean to lookup and use. > > http://camel.apache.org/ref-language.html > > > > Howeve

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-23 Thread ramesri
g a header with a key "esc" with a value of a .class, >> allow Velocity to know to instantiate and use the EscapeTool ? >> >> Also does this require velocity-tools JAR on the classpath? >> >> If not maybe we can added it by default to camel-velocity? >&

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-23 Thread ramesri
stantiate and use the EscapeTool ? > > Also does this require velocity-tools JAR on the classpath? > > If not maybe we can added it by default to camel-velocity? > > > Best, > > Christian > > > > On Thu, Feb 23, 2012 at 3:49 PM, ramesri <[hidden >

Re: How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-23 Thread ramesri
Hi Claus Please help me out. I am stuck with this and couldnot proceed. Thanks Ramesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-escape-tool-esc-xml-somestrwithspclchars-in-camel-velocity-template-tp5505668p5508249.html Sent from the Camel - Users mailing l

How to use escape tool ($esc.xml($somestrwithspclchars)) in camel velocity template

2012-02-22 Thread ramesri
Hi All I am a new user and would like to say "Hello" to all . I am trying to use the $esc.xml in a velocity template. The velocity component is invoked part of a camel route deployed in ServiceMix. I am using $esc.xml for only one tag as $esc.xml($headers.addrLine1)), where the addrLine1 is a v