李晓亮的博客

导航

文章分类 -  C#与XML

【转】使用XPath对Xml进行模糊查询
摘要:XML怎样进行XmlNode节点的模糊查询呢?可以使用XPath对Xml进行模糊查询。 XML第一种存储方式,使用节点的InnerText存储数据 user1.xml片段如下: <?xml version="1.0" encoding="utf-8" ?><users> <user> <username>huo</username> <password>123</password> <createtime>2008-06-17</createtime&g 阅读全文

posted @ 2011-11-17 20:04 LeeXiaoLiang 阅读(164) 评论(0) 推荐(0)

【摘MSDN】使用C#创建Xml节点
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.IO;usingSystem.Xml;publicclassSample{//http://technet.microsoft.com/zh-cn/sy... 阅读全文

posted @ 2010-10-20 18:21 LeeXiaoLiang 阅读(194) 评论(0) 推荐(0)