Implemented Write XML Using XmlWriter