<root>
<template path="/message">
<label label="Choices:" dir-for="label"/>
</template>

<vbox>
<list>
<template path="/list/columns/*">
  <column dir-for="label">
    <attr-connect name="name" function="last-dir" />
    <attr-connect name="label" function="last-dir" />
  </column>
</template>

<template path="/list/items/*">
  <selection>
    <template path="selected">
       <event />
    </template>
    <template path="data/*">
       <data dir-for="label">
         <attr-connect name="column-name" function="last-dir" />
         <attr-connect name="label" function="last-dir" />
       </data>
    </template>
  </selection>
</template>
</list>

<hbox>
  <template path="/actions/*">
    <button dir-for="label,event">
       <attr-connect name="label" function="last-dir" />
    </button>
  </template>
</hbox>
</vbox>

</root>
