From: Michael Orlitzky Date: Thu, 6 Nov 2014 19:03:23 +0000 (-0500) Subject: Add SportInfo support for NFLRushingLeadersXML.dtd. X-Git-Tag: 0.2.1~73 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b96cf84bdc8e9cd535fcf4db980e0a76ab6370d8;p=dead%2Fhtsn-import.git Add SportInfo support for NFLRushingLeadersXML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 47e00ca..902c655 100644 --- a/doc/TODO +++ b/doc/TODO @@ -13,7 +13,6 @@ * Cbask_Team_Scoring_Rebound_Margin_XML.dtd * Cbask_Team_Scoring_XML.dtd * Cbask_Team_Shooting_Pct_XML.dtd - * NFLRushingLeadersXML.dtd * NFLTackleFFLeadersXML.dtd * NFLTopKickoffReturnXML.dtd * NFLTopPuntReturnXML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 6d22cab..09ee099 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -155,6 +155,7 @@ extra-source-files: schemagen/NFLQBStartsXML/*.xml schemagen/NFLReceivingLeadersXML/*.xml schemagen/NFL_Roster_XML/*.xml + schemagen/NFLRushingLeadersXML/*.xml schemagen/NFLSackLeadersXML/*.xml schemagen/nflstandxml/*.xml schemagen/NFLTeamRankingsXML/*.xml diff --git a/schema/NFLRushingLeadersXML.dtd b/schema/NFLRushingLeadersXML.dtd new file mode 100644 index 0000000..006f59f --- /dev/null +++ b/schema/NFLRushingLeadersXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/schemagen/NFLRushingLeadersXML/21901204.xml b/schemagen/NFLRushingLeadersXML/21901204.xml new file mode 100644 index 0000000..9c9a935 --- /dev/null +++ b/schemagen/NFLRushingLeadersXML/21901204.xml @@ -0,0 +1 @@ + 21901204 ABX%AFC-RUSHINGAVERAGE-LEADERS Statistics NFL 2014 AFC Rushing Average Leaders 1 Justin Forsett, BAL 44 255 5.8 41 2 2 Lamar Miller, MIA 49 277 5.7 24 2 3 Knowshon Moreno, MIA 25 138 5.5 15 1 4 Chris Ivory, NYJ 50 274 5.5 71 2 5 Ahmad Bradshaw, IND 34 182 5.4 29 0 6 Le'Veon Bell, PIT 72 378 5.3 81 1 7 Isaiah Crowell, CLE 27 141 5.2 22 3 8 Jeremy Hill, CIN 26 132 5.1 13 2 9 Fred Jackson, BUF 32 152 4.8 38 0 10 Shonn Greene, TEN 33 154 4.7 20 1 11 Knile Davis, KAN 71 321 4.5 48 3 12 Lorenzo Taliaferro, BAL 33 149 4.5 31 2 13 Shane Vereen, NEP 28 122 4.4 12 1 14 Terrance West, CLE 47 204 4.3 29 2 15 Jamaal Charles, KAN 27 115 4.3 17 1 16 Chris Johnson, NYJ 41 167 4.1 35 1 September 30, 2014, at 02:28 AM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 9f454d9..d75f9cd 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -172,6 +172,7 @@ dtds = "NFLPassLeadXML.dtd", "NFLQBStartsXML.dtd", "NFLReceivingLeadersXML.dtd", + "NFLRushingLeadersXML.dtd", "NFLSackLeadersXML.dtd", "nflstandxml.dtd", "NFLTeamRankingsXML.dtd", diff --git a/test/xml/sportinfo/NFLRushingLeadersXML.dtd b/test/xml/sportinfo/NFLRushingLeadersXML.dtd new file mode 100644 index 0000000..006f59f --- /dev/null +++ b/test/xml/sportinfo/NFLRushingLeadersXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLRushingLeadersXML.xml b/test/xml/sportinfo/NFLRushingLeadersXML.xml new file mode 100644 index 0000000..9c9a935 --- /dev/null +++ b/test/xml/sportinfo/NFLRushingLeadersXML.xml @@ -0,0 +1 @@ + 21901204 ABX%AFC-RUSHINGAVERAGE-LEADERS Statistics NFL 2014 AFC Rushing Average Leaders 1 Justin Forsett, BAL 44 255 5.8 41 2 2 Lamar Miller, MIA 49 277 5.7 24 2 3 Knowshon Moreno, MIA 25 138 5.5 15 1 4 Chris Ivory, NYJ 50 274 5.5 71 2 5 Ahmad Bradshaw, IND 34 182 5.4 29 0 6 Le'Veon Bell, PIT 72 378 5.3 81 1 7 Isaiah Crowell, CLE 27 141 5.2 22 3 8 Jeremy Hill, CIN 26 132 5.1 13 2 9 Fred Jackson, BUF 32 152 4.8 38 0 10 Shonn Greene, TEN 33 154 4.7 20 1 11 Knile Davis, KAN 71 321 4.5 48 3 12 Lorenzo Taliaferro, BAL 33 149 4.5 31 2 13 Shane Vereen, NEP 28 122 4.4 12 1 14 Terrance West, CLE 47 204 4.3 29 2 15 Jamaal Charles, KAN 27 115 4.3 17 1 16 Chris Johnson, NYJ 41 167 4.1 35 1 September 30, 2014, at 02:28 AM ET \ No newline at end of file