Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://782226]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2017-02-27 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.