<?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>30</last_week>
  <week_gap>4</week_gap>
  <property>national</property>

    <cup_rounds>
        <cup_round>
            <round_name>1st Round</round_name>
            <home_away>0</home_away>
            <byes>0</byes>
            <delay>-1</delay>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>portugal2</choose_team_sid>
                    <number_of_teams>12</number_of_teams>
                    <start_idx>5</start_idx>
                    <end_idx>16</end_idx>
                    <randomly>1</randomly>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>2nd Round</round_name>
            <home_away>0</home_away>
            <byes>0</byes>
            <delay>-4</delay>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>portugal2</choose_team_sid>
                    <number_of_teams>4</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>4</end_idx>
                    <randomly>1</randomly>
                </choose_team>
                <choose_team>
                    <choose_team_sid>portugal1</choose_team_sid>
                    <number_of_teams>14</number_of_teams>
                    <start_idx>5</start_idx>
                    <end_idx>18</end_idx>
                    <randomly>1</randomly>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>3rd Round</round_name>
            <home_away>0</home_away>
            <delay>2</delay>
            <number_of_groups>4</number_of_groups>
            <number_of_advance>1</number_of_advance>
            <choose_teams>
                <choose_team>
                    <choose_team_sid>portugal1</choose_team_sid>
                    <number_of_teams>4</number_of_teams>
                    <start_idx>1</start_idx>
                    <end_idx>4</end_idx>
                    <randomly>1</randomly>
                </choose_team>
            </choose_teams>
        </cup_round>

        <cup_round>
            <round_name>Semi Final</round_name>
            <home_away>0</home_away>
            <delay>3</delay>
        </cup_round>

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