s/XmlTextWriter/StreamWriter/g