<binding>
  <mapping name="timetable" class="example9.TimeTable">
    <collection field="children" factory="example9.TimeTable.listFactory">
      <structure name="carrier" type="example9.Carrier">
        <value style="attribute" name="code" field="code"/>
        <value style="attribute" name="rating" field="rating"/>
        <value name="url" field="url"/>
        <value name="name" field="name"/>
      </structure>
      <structure name="airport" type="example9.Airport">
        <value style="attribute" name="code" field="code"/>
        <value name="location" field="location"/>
        <value name="name" field="name"/>
      </structure>
    </collection>
  </mapping>
</binding>
