Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Parse XML into CSV Files

by alexm (Chaplain)
on Jul 22, 2009 at 09:26 UTC ( #782226=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Parse XML into CSV Files
in thread Parse XML into CSV Files

Any ideas how to stop this??

This is the default behaviour for XMLin with empty elements, but you can change it, e.g.:

my $config = XMLin( $xml, SuppressEmpty => "" );

See XML::Simple for the details.


Comment on Re^5: Parse XML into CSV Files
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://782226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2015-07-31 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (279 votes), past polls