Hi Anirban,

On Wed, Feb 15, 2012 at 8:19 PM, Anirban Adhikary <
[email protected]> wrote:

>
>
>
> Hi List ,
>
> I have two files one is a csv file another is a XML files which are
> given here as attachments.
>
> Now I need to create a XML(Which is given here) file from this CSV
> file(Also here as an attachment) and Create a CSV file from this XML
> file.
>
> My question is what perl module or modules I need two use for these two
> tasks.
>

    You could use the XML::CSV, the XML::Writer or XML::SAXDriver::CSV Perl
modules  for converting CSV to XML and to write back to CSV from XML, you
could use XML::Simple to parse your xml file and with Data::Dumper to check
your data structure which could help you write a script to generate your
CSV file using print.
I hope this helps.

>
> The actual CSV file and XML files both are is  very large in size thats
> why I am providing
> some lines for this file.
>
> Best Regards
> Anirban Adhikary.
>
>
> --
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> http://learn.perl.org/
>
>


-- 
Tim

Reply via email to