摘要: 在博客园中看到一篇XML的总结文章,觉得很不错,全文没有转载,不过我摘出了精华的部分,很不错!using System.Xml;//初始化一个xml实例XmlDocument xml=new XmlDocument();//导入指定xml文件xml.Load(path);xml.Load(HttpContext.Current.Server.MapPath("~/file/bookstore.xml"));//指定一个节点XmlNode root=xml.SelectSingleNode("/root");//获取节点下所有直接子节点XmlNodeLis 阅读全文
posted @ 2011-02-28 09:10 Yao,Mane 阅读(221) 评论(0) 推荐(0) 编辑