Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 chanting in the Monastery: (11)
As of 2014-12-28 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls