XMlGenerator Factory , view and save xml file