摘要: C#中实体集合和实体转换成相应的string、XDocument、XElement public class SimpleXmlConverter { public static string ToXml<T>(IList<T> entities, string rootName = "") whe 阅读全文
posted @ 2016-06-16 13:33 bxzjzg 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 最常见的XML数据类型有:Element, Attribute,Comment, Text. Element, 指形如<Name>Tom<Name>的节点。它可以包括:Element, Text, Comment, ProcessingInstruction, CDATA, and EntityRe 阅读全文
posted @ 2016-06-16 08:55 bxzjzg 阅读(27840) 评论(0) 推荐(1) 编辑