Converts LATTES XML Document to a Text Format