#macro property node>
<#if node?is_enumerable>
<#list node as element>
<@property node=element />
#list>
<#elseif node.isComplex>
<@feature node=node.rawValue type=node.type />
<#else>
<#assign stringVal = node.value?string>
<#if !stringVal?contains("FEATURE_LINK") && stringVal != "">
<#if node.prefix == "">
${node.name}
<#else>
${node.prefix}:${node.name}
#if>
#if>
#if>
#macro>
<#macro feature node type>
${type.name}
- ${node.fid}
<#list node.attributes as attribute>
<@property node=attribute />
#list>
#macro>
<#--
Body section of the GetFeatureInfo template, it's provided with one feature collection, and
will be called multiple times if there are various feature collections
-->
<#if collection??>
<#-- Expended only in OGC Features -->
<#else>
${data.type.name}
#if>
<#list data.features as feature>
-
${feature.fid}
<#list feature.attributes as attribute>
<@property node=attribute/>
#list>
#list>