in reply to Re: Reading multi-level-tag XML file
in thread Reading multi-level-tag XML file
for my $inf (@{$data->{'SellerInformation'}}) { $sellerid = $inf->{'Seller'}[0]{'sellerIdFromProvider'}; $i = 0; for my $loc (@{$inf->{'TaxableLocationsCollection'}[0]{'TaxableLocatio +n'}}) { $location[$i++] = $loc->{'locationValue'}; } $location{$sellerid} = join(", ", @location); print $sellerid, "\t" . $location{$sellerid} . "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reading multi-level-tag XML file
by poj (Abbot) on Jul 27, 2015 at 19:57 UTC | |
by CSharma (Sexton) on Jul 28, 2015 at 06:46 UTC |