
<li xmlns:py="http://genshi.edgewall.org/"
    xmlns:xi="http://www.w3.org/2001/XInclude">
    <a href="${item.get('href', '#')}">${item.get('name', None)}</a>
    <ul py:if="len(item.get('children', [])) > 0">
    <py:for each="child in item.get('children', [])">
        <xi:include href="recursive_menu.html" py:with="item=child;" />
    </py:for>
    </ul>
</li>
