in reply to DBIx::Recordset and XML::Simple Example

my $xs = new XML::Simple(keyattr=>{NODE=>"+id"});

Probably ought to be:

my $xs = new XML::Simple(keyattr=>{NODE=>"+id"}, forcearray => ['NODE']);

otherwise it will break if there's only one <NODE>