<?xml version="1.0" encoding="UTF-8"?>
<league>
  <sid>spain2</sid>
  <name>Segunda División</name>
  <short_name>Segunda</short_name>
  <symbol>flag_spain.png</symbol>
  <first_week>6</first_week>
  <week_gap>1</week_gap>
  <average_talent>7800</average_talent>
  <names_file>spain</names_file>
  <yellow_red>5</yellow_red>
  <layer>2</layer>

    <prom_rel>
        <prom_rel_element>
            <rank_start>1</rank_start>
            <rank_end>2</rank_end>
            <dest_sid>spain1</dest_sid>
            <prom_rel_type>promotion</prom_rel_type>
        </prom_rel_element>

        <prom_games>
            <prom_games_dest_sid>spain1</prom_games_dest_sid>
            <prom_games_loser_sid>spain2</prom_games_loser_sid>
            <prom_games_cup_sid>spain_prom_games1</prom_games_cup_sid>
        </prom_games>

        <prom_rel_element>
            <rank_start>19</rank_start>
            <rank_end>22</rank_end>
            <dest_sid>spain3a spain3b spain3c spain3d</dest_sid>
            <prom_rel_type>relegation</prom_rel_type>
        </prom_rel_element>
    </prom_rel>

    <teams>
        <team>
            <team_name>Alcorcón</team_name>
        </team>
        <team>
            <team_name>Albacete</team_name>
        </team>
        <team>
            <team_name>Almería</team_name>
        </team>
        <team>
            <team_name>Cádiz</team_name>
        </team>
        <team>
            <team_name>Spain 5</team_name>
        </team>
        <team>
            <team_name>Elche</team_name>
        </team>
        <team>
            <team_name>Spain 7</team_name>
        </team>
        <team>
            <team_name>Spain 8</team_name>
        </team>
        <team>
            <team_name>Girona</team_name>
        </team>
        <team>
            <team_name>Huesca</team_name>
        </team>
        <team>
            <team_name>Las Palmas</team_name>
        </team>
        <team>
            <team_name>Lugo</team_name>
        </team>
        <team>
            <team_name>Málaga</team_name>
        </team>
        <team>
            <team_name>Spain 14</team_name>
        </team>
        <team>
            <team_name>Numancia</team_name>
        </team>
        <team>
            <team_name>Ponferradina</team_name>
        </team>
        <team>
            <team_name>R. Santander</team_name>
        </team>
        <team>
            <team_name>R. V. Madrid</team_name>
        </team>
        <team>
            <team_name>Spain 19</team_name>
        </team>
        <team>
            <team_name>Zaragoza</team_name>
        </team>
        <team>
            <team_name>S. Gijon</team_name>
        </team>
        <team>
            <team_name>Tenerife</team_name>
        </team>
    </teams>
</league>
