in reply to Re^4: XML Simple not keeping same structure on xmlout()
in thread XML Simple not keeping same structure on xmlout()

ForceArray => 1 will help in that situation, but will produce a much more elaborate structure. But really, XML::Simple is not designed to be idempotent.