<?xml version="1.0"?>
<type-info xmlns:tal="http://xml.zope.org/namespaces/tal"
   id="foo"
   kind="Some Type Information"
   tal:define="type_id options/type_id;
               info python: here.getTypeInfo(type_id);
               props python: here.generateProperties(type_id)"
   tal:attributes="id info/id;
                   kind info/kind"
 ><properties tal:replace="structure props"/>
  <aliases>
   <alias from="(Default)" to="foo_view"
          tal:repeat="item info/aliases/items"
          tal:attributes="from python: item[ 0 ]; to python: item[ 1 ];"
   />
  </aliases>
  <action
     action_id="view"
     title="View"
     condition_expr=""
     url_expr="string:${object_url}/foo_view"
     category="object"
     visible="True"
     tal:repeat="action info/actions"
     tal:attributes="action_id action/id;
                     title action/title;
                     condition_expr action/condition;
                     url_expr action/action;
                     category action/category;
                     visible action/visible;
                    "
  ><tal:case tal:condition="action/permissions">
   <permission
      tal:repeat="permission action/permissions"
      tal:content="permission">View</permission></tal:case>
  </action>
</type-info>
