Xml 读写

1.Dom[xDocument,xmlDocument]    整个xml加载到内存中

2.sax 事件驱动xmlreader(xmlTextReader) ,xmlWriter(XmlTextWriter)

3.XmlSerializer 序列化

4.linq to xml

原文地址:https://www.cnblogs.com/czsl/p/3235956.html