<binding>
  <mapping name="timetable" class="example8.TimeTable">
    <collection field="carriers">
      <structure name="carrier" type="example8.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>
    </collection>
    <collection field="airports">
      <structure name="airport" type="example8.Airport">
        <value style="attribute" name="code" field="code"/>
        <value name="location" field="location"/>
        <value name="name" field="name"/>
      </structure>
    </collection>
    <collection field="notes">
      <value name="note"/>
    </collection>
  </mapping>
</binding>
