def load_from_id(gid, pid)
      @gid = gid
      @pid = pid
      # fetch players.xml file
      @xml_data = GamedayFetcher.fetch_players(gid)
      @xml_doc = REXML::Document.new(@xml_data)
      # find specific player in the file
      pelement = @xml_doc.root.elements["team/player[@id=#{pid}]"]
      init(pelement, gid)
    end
def load_from_id(gid, pid)
      @gid = gid
      @pid = pid
      # fetch players.xml file
      @xml_data = GamedayFetcher.fetch_players(gid)
      @xml_doc = REXML::Document.new(@xml_data)
      # find specific player in the file
      pelement = @xml_doc.root.elements["team/player[@id=#{pid}]"]
      init(pelement, gid)
    end
Initializes a Player object by reading the player data from the players.xml file for the player specified by game id and player id.