02-06-2014 11:38 AM
<?xml version="1.0"?>
<#macro recurse_macro node>
<#if (node.isContainer || node.isLinkToContainer)>
<folder name="${node.name}">
<#list node.children as child>
<#if (child.isContainer || child.isLinkToContainer) && node.children?size != 0 >
<@recurse_macro node=child />
</#if>
<#if (child.isDocument || child.isLinkToDocument) >
<file name="${child.name?html}"
mimetype="${child.properties.content.mimetype}"
size="${child.properties.content.size}"
/>
</#if>
</#list>
</folder>
</#if>
</#macro>
<rootFolder displayPath="${folder.displayPath}" name="${folder.name}">
<#list folder.children as child>
<@recurse_macro node=child/>
</#list>
</rootFolder>
02-07-2014 11:04 AM
<#if (node.isLinkToContainer)>
<@recurse_macro node=node.properties.destination />
</#if>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.