0
kicks
XPath Builder snippets in Sitecore
Hi there,
Every once in a while you have to use the XPath Builder within Sitecore, just to get a quick look on what items where created from a certain Master or have a certain Template.
These are two handy snippets that I use and give you a quick overview of the items:
descendant::*[@@mastername='<your master name>']
descendant::*[@@templatename='<your template name>']
This post isn't any fancy, but will save me some time in the future when I have to use the XPath Builder. XPath just isn't my cup of tea I guess....
You can find more info here:
http://sdn5.sitecore.net/Reference/Using%20Sitecore%20Query/Sitecore%20Query%20Syntax.aspx
Hope this is usefull!
gr,
Robbert