public string SaveAs(string path) { XmlTextWriter w = new XmlTextWriter(path, new UTF8Encoding(false)); try { w.Formatting = Formatting.Indented; this.Save(w); } finally { w.Close(); } return path; } }