in reply to XML::Simple - forcing empty elements to empty string?

Use option ForceContent => 1 and add ->{content} everywhere you want the text of an element.