Posts Tagged ‘query-language’

Sitecore Template Descendants Query

November 11, 2011

I needed a query at Sitecore to select the descendants belonging to a template, of the ancestor belonging to another template

query:./ancestor::*[@@templatekey='templ 1']//*[@@templatekey='templ 2']

Advertisements