XP is just a number | |
PerlMonks |
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 ( [id://976168]=perlquestion: print w/replies, xml ) | Need Help?? |
carol.j has asked for the wisdom of the Perl Monks concerning the following question: How to use perl to parsing a XML file to csv file which have the same sequence in xml file? The following XML file called booklist.xml, in example:
Example of Converting from XML to a Perl hash record
Running this script outputs the following:
But hope we can get the sequence like this:
Back to
Seekers of Perl Wisdom
|
|