Perl 5.10 as minimum perl version.
Added xml declaration to the generated string.
Xml now is utf8 encoded.