From: Michael Orlitzky Date: Thu, 6 Nov 2014 19:24:24 +0000 (-0500) Subject: Add SportInfo support for NFLTopKickoffReturnXML.dtd. X-Git-Tag: 0.2.1~71 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=20dea5092f8fac666a65a86be06be51ec7628c00;p=dead%2Fhtsn-import.git Add SportInfo support for NFLTopKickoffReturnXML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 96e4d1b..6b0ee89 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 - * NFLTopKickoffReturnXML.dtd * NFLTopPuntReturnXML.dtd * NFLYardsXML.dtd * NFL_PuntingLeaders_XML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 7995b61..07d9ac1 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -161,6 +161,7 @@ extra-source-files: schemagen/NFLTackleFFLeadersXML/*.xml schemagen/NFLTeamRankingsXML/*.xml schemagen/NFL_Team_Stats_XML/*.xml + schemagen/NFLTopKickoffReturnXML/*.xml schemagen/NFLTopPerformanceXML/*.xml schemagen/NFLTotalYardageXML/*.xml schemagen/nhlpreviewxml/*.xml diff --git a/schema/NFLTopKickoffReturnXML.dtd b/schema/NFLTopKickoffReturnXML.dtd new file mode 100644 index 0000000..c67f358 --- /dev/null +++ b/schema/NFLTopKickoffReturnXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/schemagen/NFLTopKickoffReturnXML/22118451.xml b/schemagen/NFLTopKickoffReturnXML/22118451.xml new file mode 100644 index 0000000..5fb0c46 --- /dev/null +++ b/schemagen/NFLTopKickoffReturnXML/22118451.xml @@ -0,0 +1 @@ + 22118451 ABX%NFC-KICKRETYARDS-LEADERS Statistics NFL 2014 NFC Kickoff Return Yards Leaders 1 Cordarrelle Patterson, MIN 22 540 24.5 49 0 2 Devin Hester, ATL 19 433 22.8 36 0 3 Benny Cunningham, STL 14 419 29.9 75 0 4 Dwayne Harris, DAL 16 406 25.4 33 0 5 Solomon Patton, ARI 17 393 23.1 28 0 6 Bruce Ellington, SFX 13 342 26.3 38 0 7 Percy Harvin, NYJ 12 283 23.6 46 0 8 Philly Brown, CAR 12 273 22.8 35 0 9 Andre Roberts, WAS 11 258 23.5 45 0 10 Chris Williams, CHI 11 249 22.6 50 0 11 Quintin Demps, NYG 11 234 21.3 29 0 12 Michael Cox, NYG 9 228 25.3 40 0 13 DuJuan Harris, GBP 9 211 23.4 41 0 14 Chris Polk, PHI 5 202 40.4 102 1 15 Jeremy Ross, DET 7 171 24.4 34 0 16 Travaris Cadet, NOS 6 145 24.2 34 0 November 4, 2014, at 06:11 AM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index a4fe93e..ffa8f64 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -176,6 +176,7 @@ dtds = "NFLSackLeadersXML.dtd", "nflstandxml.dtd", "NFLTeamRankingsXML.dtd", + "NFLTopKickoffReturnXML.dtd", "NFLTopPerformanceXML.dtd", "NFLTotalYardageXML.dtd", "NFL_KickingLeaders_XML.dtd", diff --git a/test/xml/sportinfo/NFLTopKickoffReturnXML.dtd b/test/xml/sportinfo/NFLTopKickoffReturnXML.dtd new file mode 100644 index 0000000..c67f358 --- /dev/null +++ b/test/xml/sportinfo/NFLTopKickoffReturnXML.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLTopKickoffReturnXML.xml b/test/xml/sportinfo/NFLTopKickoffReturnXML.xml new file mode 100644 index 0000000..5fb0c46 --- /dev/null +++ b/test/xml/sportinfo/NFLTopKickoffReturnXML.xml @@ -0,0 +1 @@ + 22118451 ABX%NFC-KICKRETYARDS-LEADERS Statistics NFL 2014 NFC Kickoff Return Yards Leaders 1 Cordarrelle Patterson, MIN 22 540 24.5 49 0 2 Devin Hester, ATL 19 433 22.8 36 0 3 Benny Cunningham, STL 14 419 29.9 75 0 4 Dwayne Harris, DAL 16 406 25.4 33 0 5 Solomon Patton, ARI 17 393 23.1 28 0 6 Bruce Ellington, SFX 13 342 26.3 38 0 7 Percy Harvin, NYJ 12 283 23.6 46 0 8 Philly Brown, CAR 12 273 22.8 35 0 9 Andre Roberts, WAS 11 258 23.5 45 0 10 Chris Williams, CHI 11 249 22.6 50 0 11 Quintin Demps, NYG 11 234 21.3 29 0 12 Michael Cox, NYG 9 228 25.3 40 0 13 DuJuan Harris, GBP 9 211 23.4 41 0 14 Chris Polk, PHI 5 202 40.4 102 1 15 Jeremy Ross, DET 7 171 24.4 34 0 16 Travaris Cadet, NOS 6 145 24.2 34 0 November 4, 2014, at 06:11 AM ET \ No newline at end of file