<#-- Shows use of the childByNamePath, childrenByXPath and childrenByLuceneSearch API -->

Template Documents in 'Company Home/Data Dictionary/Content Templates':

<#list companyhome.childByNamePath["Data Dictionary/Content Templates"].children as child> <#if child.isDocument>
${child.properties.name}

Folders in 'Company Home/Data Dictionary/Space Templates/Software Engineering Project':

<#list companyhome.childrenByXPath["*[@cm:name='Data Dictionary']/*[@cm:name='Space Templates']/*[@cm:name='Software Engineering Project']/*"] as child> <#if child.isContainer>
${child.properties.name}

Lucene Search - documents containing the text 'Alfresco'

<#list companyhome.childrenByLuceneSearch["TEXT:alfresco"] as child>
${child.properties.name}