From: Michael Orlitzky Date: Thu, 6 Nov 2014 13:49:12 +0000 (-0500) Subject: Add SportInfo support for NFLPassingLeadersXML.dtd. X-Git-Tag: 0.2.1~75 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=351f565decb5870ecf0ec923d4a8d2146b2598bd;p=dead%2Fhtsn-import.git Add SportInfo support for NFLPassingLeadersXML.dtd. --- diff --git a/doc/TODO b/doc/TODO index 5d61274..f3d7a65 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 - * NFLPassingLeadersXML.dtd * NFLReceivingLeadersXML.dtd * NFLRushingLeadersXML.dtd * NFLTackleFFLeadersXML.dtd diff --git a/htsn-import.cabal b/htsn-import.cabal index 192676a..81c1a83 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -149,6 +149,7 @@ extra-source-files: schemagen/NFLMondayNightXML/*.xml schemagen/NFL_NBA_Draft_XML/*.xml schemagen/NFL_NCAA_FB_Matchup_XML/*.xml + schemagen/NFLPassingLeadersXML/*.xml schemagen/NFLPassLeadXML/*.xml schemagen/nflpreviewxml/*.xml schemagen/NFLQBStartsXML/*.xml diff --git a/schema/NFLPassingLeadersXML.dtd b/schema/NFLPassingLeadersXML.dtd new file mode 100644 index 0000000..ec92062 --- /dev/null +++ b/schema/NFLPassingLeadersXML.dtd @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLPassingLeadersXML/22125828.xml b/schemagen/NFLPassingLeadersXML/22125828.xml new file mode 100644 index 0000000..0621a11 --- /dev/null +++ b/schemagen/NFLPassingLeadersXML/22125828.xml @@ -0,0 +1 @@ + 22125828 ABX%NFC-QBTOUCHDOWNS-LEADERS Statistics NFL 2014 NFC Quarterback Touchdowns Leaders 1 Aaron Rodgers, GBP 169 250 67.6 2092 8.37 80 19 7.6 3 1.2 20 128 113.6 2 Jay Cutler, CHI 197 293 67.2 2093 7.14 74 17 5.8 8 2.7 20 115 95.8 3 Eli Manning, NYG 173 277 62.5 1932 6.97 61 16 5.8 5 1.8 16 98 94.9 4 Drew Brees, NOS 229 329 69.6 2524 7.67 57 15 4.6 8 2.4 11 66 97.1 Matt Ryan, ATL 198 305 64.9 2306 7.56 74 15 4.9 8 2.6 17 130 93.1 Tony Romo, DAL 165 242 68.2 1998 8.26 68 15 6.2 6 2.5 17 146 103.6 7 Nick Foles, PHI 186 311 59.8 2163 6.95 68 13 4.2 10 3.2 9 74 81.4 8 Colin Kaepernick, SFX 165 257 64.2 1956 7.61 80 12 4.7 5 1.9 27 185 94.8 9 Matthew Stafford, DET 183 299 61.2 2216 7.41 73 11 3.7 7 2.3 24 143 86.5 Austin Davis, STL 163 254 64.2 1785 7.03 51 11 4.3 7 2.8 23 137 87.8 Russell Wilson, SEA 152 242 62.8 1669 6.90 53 11 4.5 3 1.2 16 96 93.1 Carson Palmer, ARI 116 188 61.7 1385 7.37 80 11 5.9 2 1.1 6 40 99.3 13 Kirk Cousins, WAS 126 204 61.8 1710 8.38 81 10 4.9 9 4.4 8 70 86.4 Mike Glennon, TAM 117 203 57.6 1417 6.98 41 10 4.9 6 3.0 16 91 83.3 15 Cam Newton, CAR 147 256 57.4 1794 7.01 51 8 3.1 5 2.0 21 170 81.4 16 Derek Anderson, CAR 40 57 70.2 424 7.44 35 4 7.0 0 .0 1 9 114.9 November 5, 2014, at 08:29 PM ET \ No newline at end of file diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 791155b..4b885d0 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -168,6 +168,7 @@ dtds = "NFLInterceptionLeadersXML.dtd", "NFLKickoffsXML.dtd", "NFLMondayNightXML.dtd", + "NFLPassingLeadersXML.dtd", "NFLPassLeadXML.dtd", "NFLQBStartsXML.dtd", "NFLSackLeadersXML.dtd", diff --git a/test/xml/sportinfo/NFLPassingLeadersXML.dtd b/test/xml/sportinfo/NFLPassingLeadersXML.dtd new file mode 100644 index 0000000..ec92062 --- /dev/null +++ b/test/xml/sportinfo/NFLPassingLeadersXML.dtd @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLPassingLeadersXML.xml b/test/xml/sportinfo/NFLPassingLeadersXML.xml new file mode 100644 index 0000000..0621a11 --- /dev/null +++ b/test/xml/sportinfo/NFLPassingLeadersXML.xml @@ -0,0 +1 @@ + 22125828 ABX%NFC-QBTOUCHDOWNS-LEADERS Statistics NFL 2014 NFC Quarterback Touchdowns Leaders 1 Aaron Rodgers, GBP 169 250 67.6 2092 8.37 80 19 7.6 3 1.2 20 128 113.6 2 Jay Cutler, CHI 197 293 67.2 2093 7.14 74 17 5.8 8 2.7 20 115 95.8 3 Eli Manning, NYG 173 277 62.5 1932 6.97 61 16 5.8 5 1.8 16 98 94.9 4 Drew Brees, NOS 229 329 69.6 2524 7.67 57 15 4.6 8 2.4 11 66 97.1 Matt Ryan, ATL 198 305 64.9 2306 7.56 74 15 4.9 8 2.6 17 130 93.1 Tony Romo, DAL 165 242 68.2 1998 8.26 68 15 6.2 6 2.5 17 146 103.6 7 Nick Foles, PHI 186 311 59.8 2163 6.95 68 13 4.2 10 3.2 9 74 81.4 8 Colin Kaepernick, SFX 165 257 64.2 1956 7.61 80 12 4.7 5 1.9 27 185 94.8 9 Matthew Stafford, DET 183 299 61.2 2216 7.41 73 11 3.7 7 2.3 24 143 86.5 Austin Davis, STL 163 254 64.2 1785 7.03 51 11 4.3 7 2.8 23 137 87.8 Russell Wilson, SEA 152 242 62.8 1669 6.90 53 11 4.5 3 1.2 16 96 93.1 Carson Palmer, ARI 116 188 61.7 1385 7.37 80 11 5.9 2 1.1 6 40 99.3 13 Kirk Cousins, WAS 126 204 61.8 1710 8.38 81 10 4.9 9 4.4 8 70 86.4 Mike Glennon, TAM 117 203 57.6 1417 6.98 41 10 4.9 6 3.0 16 91 83.3 15 Cam Newton, CAR 147 256 57.4 1794 7.01 51 8 3.1 5 2.0 21 170 81.4 16 Derek Anderson, CAR 40 57 70.2 424 7.44 35 4 7.0 0 .0 1 9 114.9 November 5, 2014, at 08:29 PM ET \ No newline at end of file