<?xml version="1.0" encoding="UTF-8"?>
<cup>
  <name>Taça da Liga</name>
  <short_name>Taça da L.</short_name>
  <symbol>flag_portugal.png</symbol>
  <sid>portugal_leaguecup</sid>
  <last_week>38</last_week>
  <week_gap>2</week_gap>
  <property>national</property>

  <cup_rounds>
    <cup_round>

      <choose_teams>
        <choose_team>
          <choose_team_sid>portugal2</choose_team_sid>
        </choose_team>
      </choose_teams>
      <byes>0</byes>
      <delay>-14</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <number_of_groups>6</number_of_groups>
      <number_of_advance>1</number_of_advance>

      <choose_teams>
        <choose_team>
          <choose_team_sid>portugal1</choose_team_sid>
	  <number_of_teams>10</number_of_teams>
	  <start_idx>7</start_idx>
	  <end_idx>16</end_idx>
	  <randomly>1</randomly>
        </choose_team>
      </choose_teams>
      <byes>0</byes>
      <delay>-14</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <number_of_groups>3</number_of_groups>
      <number_of_advance>1</number_of_advance>
      <number_of_best_advance>1</number_of_best_advance>

      <choose_teams>
        <choose_team>
          <choose_team_sid>portugal1</choose_team_sid>
	  <number_of_teams>6</number_of_teams>
	  <start_idx>1</start_idx>
	  <end_idx>6</end_idx>
	  <randomly>1</randomly>
        </choose_team>
      </choose_teams>
      <byes>0</byes>
      <delay>-3</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <delay>-2</delay>
    </cup_round>

    <cup_round>
      <home_away>0</home_away>
      <neutral>1</neutral>
    </cup_round>
  </cup_rounds>
</cup>