#set ($root = $contentRoot) ## Set locations for the current page for testing and looping #set ($currentfolder = $_XPathTool.selectSingleNode($contentRoot, "//system-folder[@current]")) #set ($currentpage = $_XPathTool.selectSingleNode($contentRoot, "//system-page[@current]")) #set ($currentpath = $currentpage.getChild('path').value)