Rename function gerar_xml to xmlGenerator