Help for this page
<a> <b type="1"/> <b type="2"/> <c/> <b type="3"/> </a>
use warnings; use strict; use XML::Simple qw(:strict); ... my $info = $xmlParser->XMLin('<a><b type="1"/><b type="2"/><c/><b type +="3"/></a>') || die "Problem: $!\n"; print Dumper($info);