摘要:
XmlDocumnet WriteTo 方法说明:保存xmldocument对象节点到xmlwriter(即xml文件写入流)实例:public static void WriteXml( XmlDocument doc ){ XmlTextWriter writer = new XmlTextWriter(Console.Out); writer.Formatting = Formatting.Indented; doc.WriteTo( writer ); writer.Flush(); Console.WriteLine();} 阅读全文