关闭

Get the SharePoint groups in Infopath 2010 and SharePoint 2010 by current user without any code

We have a lot of requirements to check if user is in some SharePoint group then show some section in the InfoPath form. But we don't like to use custom C# code to implement it since some security rea...
阅读(1710) 评论(0)

Xpath 匹配节点的内容为空(inner text 为空)

需求是从以下写出能从下面的xml中取出Title内容(inner text)为空的节点的XPath:  Asp.net 22.5 Abraham 22.5 Abraham 容易写出错误的xPath有: //Book[Title[text()='']] /...
阅读(3238) 评论(0)

VB scrpit 修改配置文件(读写XML)

‘VB scrpit 修改配置文件(XML):  Dim WshShell Set WshShell = CreateObject("Wscript.Shell") Set fso = CreateObject("Scripting.FileSystemObject") '...
阅读(1058) 评论(0)

解释下带xmlns的xml 使用Xpath时需要注意的问题

通过Xpath我们可以快速搜索出我们想要的节点,如: http://blog.stevex.net/ 用下面的代码可以搜索到 url 节点 XmlNodeList urlNodes = doc.SelectNodes("/urlset/url");   但...
阅读(1251) 评论(2)

XPath 多个条件查询

习惯了简单的Xpath使用,碰到一个多个条件查询需求,研究了下。把实现方式贴出来供大家参考:有这样一个xml:Alpha100200true要求查找含有 data节点满足  type = String 且 inner text = Alpha 的所有cell 节点Xpath 为: //cell[data[text()='Alpha'] and data[@type=...
阅读(6365) 评论(1)

学习xml-XPath

 转自:http://hi.baidu.com/ken0137/blog/item/6868a2f4daa2156addc47494.html 学习xml-XPath介绍2008-03-08 14:37XPath is a language for finding information in an XML document. XPath is used to navigate through e...
阅读(590) 评论(0)

C# XmlDocument SelectNodes issue

 Hi all,I have a very simple xspf file:    Easter Mix    This is our selection for the Easter period.                        some info            some creator            a title            locatio...
阅读(1594) 评论(0)
    个人资料
    • 访问:566858次
    • 积分:9110
    • 等级:
    • 排名:第2263名
    • 原创:261篇
    • 转载:26篇
    • 译文:3篇
    • 评论:213条
    自我介绍
    专注于SharePoint+BI 及.net平台的一码农。微软SharePoint server 方向MVP https://mvp.microsoft.com/en-us/mvp/Cheng%20Cheng-5000549
    个人联系信息
    博客http://blog.csdn.net/farawayplace613
    电子邮件:271722535@qq.com
    文章分类
    最新评论