in reply to Re^3: Parse XML into CSV Filesin thread Parse XML into CSV Files
<Mileage> </Mileage> [download]
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 => "" ); [download]
See XML::Simple for the details.