Once you remove the last <Vehicle> tag from the XML, the XMLin parser should read the file and then you can iterate over the vehicle array like this:
my @vehicle_list = @{ $config->{Vehicle} }; foreach my $vehicle ( @vehicle_list ) { print $vehicle->{AuctionID} . "\n"; }
In reply to Re^3: Parse XML into CSV Files
by alexm
in thread Parse XML into CSV Files
by dmsparts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |