From: Michael Orlitzky Date: Thu, 6 Nov 2014 13:55:56 +0000 (-0500) Subject: Add SportInfo support for NFLReceivingLeadersXML.dtd. X-Git-Tag: 0.2.1~74 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=61a6bbaba5c38efc00b503cb6dec8146242f7177;p=dead%2Fhtsn-import.git Add SportInfo support for NFLReceivingLeadersXML.dtd. --- diff --git a/doc/TODO b/doc/TODO index f3d7a65..47e00ca 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 - * NFLReceivingLeadersXML.dtd * NFLRushingLeadersXML.dtd * NFLTackleFFLeadersXML.dtd * NFLTopKickoffReturnXML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 81c1a83..6d22cab 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -153,6 +153,7 @@ extra-source-files: schemagen/NFLPassLeadXML/*.xml schemagen/nflpreviewxml/*.xml schemagen/NFLQBStartsXML/*.xml + schemagen/NFLReceivingLeadersXML/*.xml schemagen/NFL_Roster_XML/*.xml schemagen/NFLSackLeadersXML/*.xml schemagen/nflstandxml/*.xml diff --git a/schema/NFLReceivingLeadersXML.dtd b/schema/NFLReceivingLeadersXML.dtd new file mode 100644 index 0000000..ce6123c --- /dev/null +++ b/schema/NFLReceivingLeadersXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/schemagen/NFLReceivingLeadersXML/22113940.xml b/schemagen/NFLReceivingLeadersXML/22113940.xml new file mode 100644 index 0000000..8f1aaec --- /dev/null +++ b/schemagen/NFLReceivingLeadersXML/22113940.xml @@ -0,0 +1 @@ + 22113940 ABX%NFC-RECEIVINGAVERAGE-LEADERS Statistics NFL 2014 NFC Average Yards Per Reception Leaders 1 DeSean Jackson, WAS 36 784 21.8 81 4 2 Jeremy Maclin, PHI 45 790 17.6 68 8 3 Michael Floyd, ARI 23 389 16.9 63 2 4 Marques Colston, NOS 28 444 15.9 57 1 5 Calvin Johnson, DET 22 348 15.8 67 2 6 Terrance Williams, DAL 27 426 15.8 47 6 7 Kenny Britt, STL 18 281 15.6 43 2 8 Kenny Stills, NOS 24 373 15.5 46 1 9 Brian Quick, STL 25 375 15.0 51 3 10 Alshon Jeffery, CHI 38 563 14.8 74 3 11 Jordy Nelson, GBP 50 737 14.7 80 6 12 Kelvin Benjamin, CAR 40 589 14.7 51 5 13 Larry Fitzgerald, ARI 35 513 14.7 80 2 14 Victor Cruz, NYG 23 337 14.7 61 1 15 Devin Hester, ATL 18 263 14.6 36 1 16 Golden Tate, DET 55 800 14.5 73 3 November 3, 2014, at 03:14 AM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 4b885d0..9f454d9 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -171,6 +171,7 @@ dtds = "NFLPassingLeadersXML.dtd", "NFLPassLeadXML.dtd", "NFLQBStartsXML.dtd", + "NFLReceivingLeadersXML.dtd", "NFLSackLeadersXML.dtd", "nflstandxml.dtd", "NFLTeamRankingsXML.dtd", diff --git a/test/xml/sportinfo/NFLReceivingLeadersXML.dtd b/test/xml/sportinfo/NFLReceivingLeadersXML.dtd new file mode 100644 index 0000000..ce6123c --- /dev/null +++ b/test/xml/sportinfo/NFLReceivingLeadersXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLReceivingLeadersXML.xml b/test/xml/sportinfo/NFLReceivingLeadersXML.xml new file mode 100644 index 0000000..8f1aaec --- /dev/null +++ b/test/xml/sportinfo/NFLReceivingLeadersXML.xml @@ -0,0 +1 @@ + 22113940 ABX%NFC-RECEIVINGAVERAGE-LEADERS Statistics NFL 2014 NFC Average Yards Per Reception Leaders 1 DeSean Jackson, WAS 36 784 21.8 81 4 2 Jeremy Maclin, PHI 45 790 17.6 68 8 3 Michael Floyd, ARI 23 389 16.9 63 2 4 Marques Colston, NOS 28 444 15.9 57 1 5 Calvin Johnson, DET 22 348 15.8 67 2 6 Terrance Williams, DAL 27 426 15.8 47 6 7 Kenny Britt, STL 18 281 15.6 43 2 8 Kenny Stills, NOS 24 373 15.5 46 1 9 Brian Quick, STL 25 375 15.0 51 3 10 Alshon Jeffery, CHI 38 563 14.8 74 3 11 Jordy Nelson, GBP 50 737 14.7 80 6 12 Kelvin Benjamin, CAR 40 589 14.7 51 5 13 Larry Fitzgerald, ARI 35 513 14.7 80 2 14 Victor Cruz, NYG 23 337 14.7 61 1 15 Devin Hester, ATL 18 263 14.6 36 1 16 Golden Tate, DET 55 800 14.5 73 3 November 3, 2014, at 03:14 AM ET \ No newline at end of file