in reply to Re: XML::Simple : element vs. attribute in XMLout
in thread XML::Simple : element vs. attribute in XMLout

Instead of changing
mod => 'mstring1',
to:
mod => { content => 'mstring1' },
you could just change it to:
mod => [ 'mstring1' ],