static void InitializeWriter(XmlTextWriter writer) { writer.Formatting = Formatting.Indented; writer.IndentChar = '\t'; writer.Indentation = 1; }