Top Scorer FC

Leagues

English Premier League

Github Repository

Top Scorer FC

XML Example

To run the program, create an xml file using the following example.

NOTE: You can either put all games in a single gameweek tag, or separate them out. This is purely for organizational purposes.

<?xml version="1.0" encoding="UTF-8"?>
<season year="2019-2020">
    <games>
        <gameweek>
            <game>
                <home team="Liverpool" />
                <away team="Norwich City" />
                <goal team="Liverpool" pen="false">Own Goal</goal>
                <goal team="Liverpool" pen="false">Mohamed Salah</goal>
                <goal team="Liverpool" pen="false">Virgil van Dijk</goal>
                <goal team="Liverpool" pen="false">Divock Origi</goal>
                <goal team="Norwich City" pen="false">Teemu Pukki</goal>
            </game>
            <game>
                <home team="AFC Bournemouth" />
                <away team="Sheffield United" />
                <goal team="AFC Bournemouth" pen="false">Chris Mepham</goal>
                <goal team="Sheffield United" pen="false">Billy Sharp</goal>
            </game>
</gameweek>
    </games>
    <league name="English Premier League">
        <team>Liverpool</team>
        <team>Norwich City</team>
        <team>AFC Bournemouth</team>
        <team>Sheffield United</team>
    </league>
</season>

English Premier League:

1992-1993
1993-1994
1994-1995
1995-1996
1996-1997
1997-1998
1998-1999
1999-2000
2000-2001
2001-2002
2002-2003
2003-2004
2004-2005
2005-2006
2006-2007
2007-2008
2008-2009
2009-2010
2010-2011
2011-2012
2012-2013
2013-2014
2014-2015
2015-2016
2016-2017
2017-2018
2018-2019
2019-2020
2020-2021
2021-2022
2022-2023