first version of generation of hxml file