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] <
[email protected]> wrote:

> You cannot use XSLT to transform a CSV file into XML...
>
>
> On Thu, May 17, 2012 at 10:19 PM, ychawla <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5711606&i=0>>wrote:
>
>
> > Hi Amby,
> > What about using a simple XSLT to go from the outputted format to your
> > desired format?  It should be a pretty straight forward transformation.
> >
> > Thanks,
> > Yogesh
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/Converting-CSV-to-XML-tp5711086p5711598.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Converting-CSV-to-XML-tp5711086p5711606.html
>  To start a new topic under Camel - Users, email
> [email protected]
> To unsubscribe from Camel - Users, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=cmFtZXNoLnNyaWRoYXJhbkBpaGcuY29tfDQ2NTQyOHwxMjE3MTM3MDYz>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://camel.465427.n5.nabble.com/Converting-CSV-to-XML-tp5711086p5711614.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to