changed the template to create XML