in reply to Re^2: Parse XML into CSV Files
in thread Parse XML into CSV Files
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"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Parse XML into CSV Files
by dmsparts (Sexton) on Jul 22, 2009 at 08:07 UTC | |
by alexm (Chaplain) on Jul 22, 2009 at 09:26 UTC |