created an xml generator