in reply to Outputting a hash as XML

Have a look at the NoAttr option of XML::Simple.

Paul