use XML::Simple; use strict; use warnings; my $hash = {key => 1, content => "process a"}; print XMLout($hash, RootName => 'Parameter');