Replaced XmlWriter with XmlWriter2