Check-in Write XML Using XmlDocument and added region for Write XML Using XmlWriter Class