//有中文字符的都就无效
//怎么才能选择中文字符?
node=doc.SelectSingleNode("/bookmap/chapter[@navtitle='基本特性清单']");
node=doc.SelectSingleNode("/bookmap/chapter[@otherprops='a']");<bookmap xml:lang="zh-cn">
<chapter navtitle="基本特性" otherprops="a">
</chapter>
<chapter navtitle="可选特性" otherprops="b">
</chapter>
</bookmap>
//怎么才能选择中文字符?
node=doc.SelectSingleNode("/bookmap/chapter[@navtitle='基本特性清单']");
node=doc.SelectSingleNode("/bookmap/chapter[@otherprops='a']");<bookmap xml:lang="zh-cn">
<chapter navtitle="基本特性" otherprops="a">
</chapter>
<chapter navtitle="可选特性" otherprops="b">
</chapter>
</bookmap>
解决方案 »
- 把word1文档里面文字插入到模板word2里面去?有什么办法
- Vista下Datetimepicker显示乱码,求解
- 文件浏览器不同文件显示不同图标
- 谁能解答下ApplicationSettingsBase类与Configuration类有什么区别
- 如何实现一个悬浮在页面的登录注册框? .NET(C#)
- 如何获得GridView每一行的值
- 如何用c#.net实现div分层显示??
- 一个关于form1.visible的问题。
- 如何在LISTVIEW显示文件的时候显示图标
- .Net生成的dll文件,能修改吗
- FarPoint.Win.Spread.StyleInfo(C#版的,该StyleInfo是针对单元格级别操作的,有人会用吗?)
- 求各种排序方法大全!!!
node=doc.SelectSingleNode("/bookmap/chapter[@otherprops='a']");
node=doc.SelectSingleNode("/bookmap/chapter[@navtitle='基本特性清单']");
node=doc.SelectSingleNode("/bookmap/chapter[@navtitle='基本特性']");是支持中文的