摘要: Linq生成XML的方法: string CreateXML(string strkey, string strDATAJSON) { XDeclaration dec = new XDeclaration("1.0", "UTF-8", null); XDocument xdoc = new XD 阅读全文
posted @ 2019-07-10 14:28 一叶孤城 阅读(356) 评论(0) 推荐(0)
摘要: 针对上面格式的XML字符串,获取出来 数组内容或关键标示 解析代码: try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.LoadXml(strxml);//Load加载XML文件,LoadXML加载XML字符串 XmlElement root 阅读全文
posted @ 2019-07-10 11:34 一叶孤城 阅读(4685) 评论(0) 推荐(0)