开发者

Valid sitecore query - wrong xpath query

why does valid sitecore query:开发者_如何学C /sitecore/content/#My tree#/MyItems/*[contains(@@name, 'thename')] in xpath results to: Expression must evaluate to a node-set. Using sitecore developer center / xpath builder. Wanted to modify the query to use in code. Thanks,


This is a Sitecore Query, and isn't valid xpath. You can only use it in certain places within Sitecore (such as field sources) as well as within CodeBehind files.

There's a PDF document explaining it on the SDN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜