in reply to XML::Simple Data->xml element conversion problem

Does anyone of you know why or what to configure to get the result I need?
KeyAttr => [],

see XML::Simple section KeyAttr => [ list ] # in+out - important

Note 1: The default value for 'KeyAttr' is ['name', 'key', 'id']. If you do not want folding on input or unfolding on output you must set this option to an empty list to disable the feature.
poj