Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

How to use perl to parsing a XML file to csv file which have the same sequence in xml file?

by carol.j (Initiate)
on Jun 14, 2012 at 10:05 UTC ( #976168=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
          <author>Book 1 author 1</author>
          <title>Book 1 title</title>
  2. or download this
    # Script to illustrate how to parse a simple XML file
    my $booklist = XMLin('booklist.xml');
    print Dumper($booklist);
  3. or download this
    $VAR1 = {
              'book' => {
  4. or download this
    $VAR1 = {
              'book' => {

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://976168]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-02-06 21:53 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (236 votes), past polls