Added XML viewer to preview xml for generated formulation template.