
#!/usr/bin/perl

use XML::DT ;
use Data::Dumper;

%xml=( 'music'    => sub{"Autor da musica: $c ($v{x})"},
       'emptyele' => sub{"($v{x})-$c"},
       'title'    => sub{ uc($c) . $v{acordes} },
       '-default' => sub{"$q:$c"},
       'arquivo'  => sub{("_" x 60). dt($v{file},%xml2)},
       '-outputenc' => 'ISO-8859-1'
     );

print dtstring("<musica x='1'>
<emptyele x='مُ1'/>
<music>Zeca Afonso</music>
</musica>",%xml);
