XPATH contains 问题
在 INFOPATH VSTA中用了下面的查询SHAREPOINT LIST:
XPathNodeIterator records = TESTList.Select("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[contains(d:record_no, 'HR')]", this.NamespaceManager);
想查询list中, record_no包含it的所有records, 得到的结果是空的, 但如果用下面的方式却有结果:
XPathNodeIterator records = TESTList.Select("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:department='HR']", this.NamespaceManager);
是否有谁能知道我上面的第一条语法是否有误,谢谢