#escape x as x?html>
<#visit applicants>
<#macro @array>
Name |
Age |
Skills |
Test results |
Decided |
<#recurse>
#macro>
<#macro @object>
<#recurse>
#macro>
<#macro name>
${.node}
<#if .node?parent.maidenName??>(m.n.: ${.node?parent.maidenName})#if>
|
#macro>
<#macro maidenName><#-- Already extracted in the "name" macro -->#macro>
<#macro age>
${.node} |
#macro>
<#macro skills>
<#list .node as s>
${s}<#if s_has_next>,#if>
#list>
|
#macro>
<#macro testResults>
<#list .node?keys as testName>
${testName}: ${.node[testName]?string("0.0")}<#if testName_has_next>,#if>
#list>
|
#macro>
<#macro decided>
${.node?string('Y', 'N')} |
#macro>
#escape>