Sponsored Content
Full Discussion: Convert XML to CSV format
Top Forums Shell Programming and Scripting Convert XML to CSV format Post 302339480 by figaro on Thursday 30th of July 2009 03:43:53 PM
Old 07-30-2009
Few languages are as well suited to parse and display XML files than Perl. With a quick whizz around the internet, you will find plenty examples; CPAN is an excellent source too.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help to convert XML to CSV

Apologies if this has already been covered in this site somewhere, I did try looking but without any success. I am new to the whole XML thing, very late starter, and have a requirement to convert an XML fiule to a CSV fomat. I am crrently working on a Solaris OS. Does anyone have any suggestions,... (2 Replies)
Discussion started by: rossingi_33
2 Replies

2. Shell Programming and Scripting

Convert a csv file to an xls format

Hi, I have a file coming in xxx.txt(csv format) i do some work on it and i need to send out as a .xls format. Is there any way there is some code i can use in my script to convert this? I'm struggling on this. Thanks (11 Replies)
Discussion started by: Pablo_beezo
11 Replies

3. Shell Programming and Scripting

convert files into csv format using perl

Hi all perl gurus, I need your help to get the desired output in perl. I have a file which has text in it in the format Connection request start timestamp = 12/08/2008 00:58:36.956700 Connect request completion timestamp = 12/08/2008 00:58:36.959729 Application idle time ... (10 Replies)
Discussion started by: azs0309
10 Replies

4. Shell Programming and Scripting

Help needed to convert delimited to CSV format

I have a file with the data as follows.. FILE 1|#START|Jan 22 15:03 FILE 1|#END|Jan 22 16:06 FILE 2|#START|Jan 22 5:15 FILE 2|#END|Jan 22 5:25 FILE 3|#START|Jan 22 07:03 FILE 3|#END|Jan 22 08:15 FILE 4|#START|Jan 22 16:09 FILE 4|#END|Jan 22 16:55 FILE 1|#START|Jan 22 18:15 FILE... (5 Replies)
Discussion started by: karthikd214
5 Replies

5. Shell Programming and Scripting

Convert the below file to csv format

Hi , i want to change this question, i will post soon.. (6 Replies)
Discussion started by: srikanth2567
6 Replies

6. UNIX for Dummies Questions & Answers

urgent help to convert xml to xsl or csv

Urgent help to transfer data from .xml to xl sheet where each attribute and value goes into seperate column.Please help me with the command.Please help Thanks Uma (9 Replies)
Discussion started by: umapearl
9 Replies

7. Shell Programming and Scripting

awk convert xml to csv

Hi, I have an xml file and I want to convert it with awk in to a csv file Test.xml <Worksheet ss:Name="Map1"> <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="2" x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="60"> <Row> <Cell><Data... (6 Replies)
Discussion started by: research3
6 Replies

8. Shell Programming and Scripting

Convert xml to csv

I need to convert below xml code to csv. I searched other posts as well but this post (_https://www.unix.com/shell-programming-scripting/174417-extract-parse-xml-data-statistic-value-csv.html) gives "sed command garbled" error. As of now I have written a long script to do it, but can it be done with... (7 Replies)
Discussion started by: dineshydv
7 Replies

9. Shell Programming and Scripting

How to convert xml to csv ?

I am in need of converting billions of XML into csv file to load data to DB, i have found the below code in perl but not sure why it's not working properly. CODE: #!/usr/bin/perl # Script to illustrate how to parse a simple XML file # and pick out all the values for a specific element, in... (1 Reply)
Discussion started by: rspwilliam
1 Replies

10. Shell Programming and Scripting

Convert XML to CSV using awk or shell script

Hello, I am working on a part of code where I need a awk or shell script to convert the given XML file to CSV or TXT file. There are multiple xml files and of different structure, so a single script is required for converting data. I did find a lot of solutions in the forum but... (16 Replies)
Discussion started by: Rashmitha
16 Replies
WWW::Freshmeat(3pm)					User Contributed Perl Documentation				       WWW::Freshmeat(3pm)

NAME
WWW::Freshmeat - automates usage of Freshmeat.net VERSION
Version 0.22 SYNOPSIS
use WWW::Freshmeat; my $fm = WWW::Freshmeat->new(token=>'freshmeat_token'); my $project = $fm->retrieve_project('project_id'); foreach my $p ( @projects, $project ) { print $p->name(), " "; print $p->version(), " "; print $p->description(), " "; } DESCRIPTION
"WWW::Freshmeat" derives from "LWP::UserAgent", so it accepts all the methods that "LWP::UserAgent" does, notably "timeout", "useragent", "env_proxy"... Methods retrieve_project STRING Query the freshmeat.net site for the project STRING (should be the Freshmeat ID of the requested project) and returns a "WWW::Freshmeat::Project" object or undef if the project entry cannot be found. project_from_xml STRING Receives Freshmeat project XML record and returns a "WWW::Freshmeat::Project" object or undef if the project entry cannot be found. redir_url STRING Receives URL and returns URL which it redirects to. SEE ALSO
LWP::UserAgent. AUTHOR
Cedric Bouvier, "<cbouvi at cpan.org>". Alexandr Ciornii. BUGS
Please report any bugs or feature requests to "bug-www-freshmeat at rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Freshmeat>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc WWW::Freshmeat You can also look for information at: o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/WWW-Freshmeat <http://annocpan.org/dist/WWW-Freshmeat> o CPAN Ratings http://cpanratings.perl.org/d/WWW-Freshmeat <http://cpanratings.perl.org/d/WWW-Freshmeat> o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat <http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Freshmeat> o Search CPAN http://search.cpan.org/dist/WWW-Freshmeat <http://search.cpan.org/dist/WWW-Freshmeat> ACKNOWLEDGEMENTS
COPYRIGHT &; LICENSE Copyright 2006 Cedric Bouvier (version 0.01). Copyright 2009-2012 Alexandr Ciornii. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-05 WWW::Freshmeat(3pm)
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy