<#ftl ns_prefixes = {"x" : "http://x", "y" : "http://y"}> <#recurse doc > <#macro book> <#recurse .node["x:title"]>

<#recurse .node["x:title"]>

<#recurse> <#macro chapter>

<#recurse .node["y:title"]>

<#recurse> <#macro "x:chapter">

<#recurse .node["y:title"]>

<#recurse> <#macro para>

<#recurse> <#macro "x:para">

<#recurse> <#macro "y:para">

<#recurse> <#macro "x:title"> <#-- We have handled this element imperatively, so we do nothing here. --> <#macro "y:title"> <#-- We have handled this element imperatively, so we do nothing here. --> <#macro @text>${.node?html}