Quantcast

Need Help converting XML-CSV(flatfile)

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Need Help converting XML-CSV(flatfile)

Matheen
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

hekonsek
Hi,

> I just stared out with camel...i have done few basic examples
>
> Now i'm trying to convert XML data to CSV.

Please share what have you done so far :) .

Which components, data format, etc. are you trying to use? There have
you stuck? How does your route look like?

Best regards.

--
Henryk Konsek
http://henryk-konsek.blogspot.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

Matheen
ok..before i had done conversion from CSV to XML...i had used camel bindy to
do that.

1st Converting CSV file to POJO objects.

2nd Converting POJO list to XML using xstream. it is working fine.

Source:
http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html 

Now i want to do XML to CSV. Please tell me the different ways to do it.
Once i get some idea i'll work on my own and post it here in this forum.



--
View this message in context: http://camel.465427.n5.nabble.com/Need-Help-converting-XML-CSV-flatfile-tp5716908p5716918.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

pontus.ullgren
Hello,
For xml to csv I would simply use xslt.

// Pontus
Send from my phone
Den 10 aug 2012 11:58 skrev "Matheen" <[hidden email]>:

> ok..before i had done conversion from CSV to XML...i had used camel bindy
> to
> do that.
>
> 1st Converting CSV file to POJO objects.
>
> 2nd Converting POJO list to XML using xstream. it is working fine.
>
> Source:
>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>
> Now i want to do XML to CSV. Please tell me the different ways to do it.
> Once i get some idea i'll work on my own and post it here in this forum.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Need-Help-converting-XML-CSV-flatfile-tp5716908p5716918.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

Christian Mueller
In reply to this post by Matheen
Have a look at Camel csv [1] and bindy [2].

[1] http://camel.apache.org/csv.html
[2] http://camel.apache.org/bindy.html

Best,
Christian

On Tue, Aug 7, 2012 at 12:23 PM, Matheen <[hidden email]> wrote:

> ok..before i had done conversion from CSV to XML...i had used camel bindy
> to
> do that.
>
> 1st Converting CSV file to POJO objects.
>
> 2nd Converting POJO list to XML using xstream. it is working fine.
>
> Source:
>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>
> Now i want to do XML to CSV. Please tell me the different ways to do it.
> Once i get some idea i'll work on my own and post it here in this forum.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Need-Help-converting-XML-CSV-flatfile-tp5716908p5716918.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

Claus Ibsen-2
There is also beanio
http://camel.apache.org/beanio.html

And the others we have listed here
http://camel.apache.org/data-format.html



On Fri, Aug 10, 2012 at 11:42 PM, Christian Müller
<[hidden email]> wrote:

> Have a look at Camel csv [1] and bindy [2].
>
> [1] http://camel.apache.org/csv.html
> [2] http://camel.apache.org/bindy.html
>
> Best,
> Christian
>
> On Tue, Aug 7, 2012 at 12:23 PM, Matheen <[hidden email]> wrote:
>
>> ok..before i had done conversion from CSV to XML...i had used camel bindy
>> to
>> do that.
>>
>> 1st Converting CSV file to POJO objects.
>>
>> 2nd Converting POJO list to XML using xstream. it is working fine.
>>
>> Source:
>>
>> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>>
>> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
>>
>> Now i want to do XML to CSV. Please tell me the different ways to do it.
>> Once i get some idea i'll work on my own and post it here in this forum.
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Need-Help-converting-XML-CSV-flatfile-tp5716908p5716918.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
>
> --



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Need Help converting XML-CSV(flatfile)

Charles Moulliard-2
As you uses/knows camel-bindy, why don't you simply combine camel jaxb and
camel bindy for XML <--> CSV transformation. Jaxb annotations can be added
into the same model as Apache Bindy annotations.

On Mon, Aug 13, 2012 at 10:25 AM, Claus Ibsen <[hidden email]> wrote:

> There is also beanio
> http://camel.apache.org/beanio.html
>
> And the others we have listed here
> http://camel.apache.org/data-format.html
>
>
>
> On Fri, Aug 10, 2012 at 11:42 PM, Christian Müller
> <[hidden email]> wrote:
> > Have a look at Camel csv [1] and bindy [2].
> >
> > [1] http://camel.apache.org/csv.html
> > [2] http://camel.apache.org/bindy.html
> >
> > Best,
> > Christian
> >
> > On Tue, Aug 7, 2012 at 12:23 PM, Matheen <[hidden email]> wrote:
> >
> >> ok..before i had done conversion from CSV to XML...i had used camel
> bindy
> >> to
> >> do that.
> >>
> >> 1st Converting CSV file to POJO objects.
> >>
> >> 2nd Converting POJO list to XML using xstream. it is working fine.
> >>
> >> Source:
> >>
> >>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
> >>
> >>
> http://workingwithqueues.blogspot.in/2012/07/converting-csv-to-xml-with-camel-bindy.html
> >>
> >> Now i want to do XML to CSV. Please tell me the different ways to do it.
> >> Once i get some idea i'll work on my own and post it here in this forum.
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://camel.465427.n5.nabble.com/Need-Help-converting-XML-CSV-flatfile-tp5716908p5716918.html
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >
> >
> >
> > --
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>



--
Charles Moulliard
Apache Committer / Sr. Pr. Consultant at FuseSource.com
Twitter : @cmoulliard
Blog : http://cmoulliard.blogspot.com
Loading...