随笔分类 -  XML

摘要:今天有个需求需要操作xml节点.突然见遗忘了许多.上网看了些资料.才整出来.脑袋真不够用.在这里把我找到的资料共享一下.方便以后使用.本文属于网摘/ 一、简单介绍 using System.Xml; //初始化一个xml实例 XmlDocument xml=new XmlDocument(); //导入指定xml文件 xml.Load(path); xml.Load(HttpContext.Cu... 阅读全文
posted @ 2016-08-24 13:07 有思想的码农 阅读(4741) 评论(0) 推荐(0) 编辑
摘要:已知有一个XML文件(bookshop.xml)如下: 下面看看是怎样读写xml文件的: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; n 阅读全文
posted @ 2016-05-11 16:19 有思想的码农 阅读(4468) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示