From: Michael Orlitzky Date: Thu, 6 Nov 2014 19:28:58 +0000 (-0500) Subject: Add SportInfo support for NFLTopPuntReturnXML.dtd. X-Git-Tag: 0.2.1~70 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a13dffb2bed8ca56164430e1b11731f4ab1e7d5b;p=dead%2Fhtsn-import.git Add SportInfo support for NFLTopPuntReturnXML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 6b0ee89..8fdb22c 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 - * NFLTopPuntReturnXML.dtd * NFLYardsXML.dtd * NFL_PuntingLeaders_XML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 07d9ac1..d49ce3f 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -163,6 +163,7 @@ extra-source-files: schemagen/NFL_Team_Stats_XML/*.xml schemagen/NFLTopKickoffReturnXML/*.xml schemagen/NFLTopPerformanceXML/*.xml + schemagen/NFLTopPuntReturnXML/*.xml schemagen/NFLTotalYardageXML/*.xml schemagen/nhlpreviewxml/*.xml schemagen/Odds_XML/*.xml diff --git a/schema/NFLTopPuntReturnXML.dtd b/schema/NFLTopPuntReturnXML.dtd new file mode 100644 index 0000000..2204bc3 --- /dev/null +++ b/schema/NFLTopPuntReturnXML.dtd @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLTopPuntReturnXML/22118453.xml b/schemagen/NFLTopPuntReturnXML/22118453.xml new file mode 100644 index 0000000..8f6d6f7 --- /dev/null +++ b/schemagen/NFLTopPuntReturnXML/22118453.xml @@ -0,0 +1 @@ + 22118453 ABX%NFC-PUNTRETURN-YARDS-LEADERS Statistics NFL 2014 NFC Punt Return Yards Leaders 1 Darren Sproles, PHI 20 307 15.3 82 1 8 2 Jeremy Ross, DET 15 172 11.5 28 0 23 3 Marcus Sherels, MIN 20 169 8.4 24 0 16 Ted Ginn, ARI 14 169 12.1 71 1 13 5 Andre Roberts, WAS 17 154 9.1 37 0 19 6 Devin Hester, ATL 12 151 12.6 62 1 4 7 Dwayne Harris, DAL 16 142 8.9 38 0 9 8 Philly Brown, CAR 12 137 11.4 79 1 5 9 Bruce Ellington, SFX 15 119 7.9 21 0 9 10 Solomon Patton, TAM 10 112 11.2 33 0 4 11 Tavon Austin, STL 16 109 6.8 38 0 6 Bryan Walters, SEA 12 109 9.1 21 0 8 13 Stedman Bailey, STL 1 90 90.0 90 1 0 14 Randall Cobb, GBP 8 86 10.8 24 0 4 15 Preston Parker, NYG 8 53 6.6 18 0 6 16 Santonio Holmes, CHI 8 50 6.3 22 0 5 November 4, 2014, at 06:12 AM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index ffa8f64..76a7c94 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -178,6 +178,7 @@ dtds = "NFLTeamRankingsXML.dtd", "NFLTopKickoffReturnXML.dtd", "NFLTopPerformanceXML.dtd", + "NFLTopPuntReturnXML.dtd", "NFLTotalYardageXML.dtd", "NFL_KickingLeaders_XML.dtd", "NFL_NBA_Draft_XML.dtd", diff --git a/test/xml/sportinfo/NFLTopPuntReturnXML.dtd b/test/xml/sportinfo/NFLTopPuntReturnXML.dtd new file mode 100644 index 0000000..2204bc3 --- /dev/null +++ b/test/xml/sportinfo/NFLTopPuntReturnXML.dtd @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLTopPuntReturnXML.xml b/test/xml/sportinfo/NFLTopPuntReturnXML.xml new file mode 100644 index 0000000..8f6d6f7 --- /dev/null +++ b/test/xml/sportinfo/NFLTopPuntReturnXML.xml @@ -0,0 +1 @@ + 22118453 ABX%NFC-PUNTRETURN-YARDS-LEADERS Statistics NFL 2014 NFC Punt Return Yards Leaders 1 Darren Sproles, PHI 20 307 15.3 82 1 8 2 Jeremy Ross, DET 15 172 11.5 28 0 23 3 Marcus Sherels, MIN 20 169 8.4 24 0 16 Ted Ginn, ARI 14 169 12.1 71 1 13 5 Andre Roberts, WAS 17 154 9.1 37 0 19 6 Devin Hester, ATL 12 151 12.6 62 1 4 7 Dwayne Harris, DAL 16 142 8.9 38 0 9 8 Philly Brown, CAR 12 137 11.4 79 1 5 9 Bruce Ellington, SFX 15 119 7.9 21 0 9 10 Solomon Patton, TAM 10 112 11.2 33 0 4 11 Tavon Austin, STL 16 109 6.8 38 0 6 Bryan Walters, SEA 12 109 9.1 21 0 8 13 Stedman Bailey, STL 1 90 90.0 90 1 0 14 Randall Cobb, GBP 8 86 10.8 24 0 4 15 Preston Parker, NYG 8 53 6.6 18 0 6 16 Santonio Holmes, CHI 8 50 6.3 22 0 5 November 4, 2014, at 06:12 AM ET \ No newline at end of file