my $result = XMLin("out.xml",KeyAttr=>{item=>'name'},ForceArray=>1);