- or download this
<?xml version="1.0" encoding="Windows-1252"?>
<App>
...
<node name="3rd node" text="Text of 3rd node" />
...
</App>
- or download this
1st node: Text of 1st node
2nd node: Text of 2nd node
3rd node: Text of 3rd node
...
- or download this
use XML::Simple;
use Data::Dumper;
...
foreach my $node (@{$data->{App}{node}}) {
print $node->{name}.": ".$node->{text}."\n";
}