From: Michael Orlitzky Date: Mon, 23 Jun 2014 14:51:28 +0000 (-0400) Subject: Add SportInfo support for NFL_KickingLeaders_XML.dtd. X-Git-Tag: 0.0.6~93 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4d6a41c7a9594e10ae004bb2c0ee72bde26ebcda;p=dead%2Fhtsn-import.git Add SportInfo support for NFL_KickingLeaders_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 3baf7dc..925ca14 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -332,6 +332,8 @@ NFLTeamRankingsXML.dtd NFLTopPerformanceXML.dtd .IP \[bu] NFLTotalYardageXML.dtd +.IP \[bu] +NFL_KickingLeaders_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFL_KickingLeaders_XML.dtd b/schema/NFL_KickingLeaders_XML.dtd new file mode 100644 index 0000000..f710dec --- /dev/null +++ b/schema/NFL_KickingLeaders_XML.dtd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFL_KickingLeaders_XML/NFL_KickingLeaders_XML.xml b/schemagen/NFL_KickingLeaders_XML/NFL_KickingLeaders_XML.xml new file mode 100644 index 0000000..99d229d --- /dev/null +++ b/schemagen/NFL_KickingLeaders_XML/NFL_KickingLeaders_XML.xml @@ -0,0 +1,207 @@ + + + +3296634 +ABX%AFC-KICKING +Statistics +NFL +2005 AFC Kicking Leaders + ++1 +1919 +Shayne Graham, CIN +7 +7 +100.0 +5 +5 +100.0 +40 +22 + ++2 +3143 +Lawrence Tynes, KAN +5 +5 +100.0 +5 +7 +71.4 +42 +20 + ++3 +3268 +Jeff Reed, PIT +7 +7 +100.0 +4 +4 +100.0 +44 +19 + ++ +76 +Rian Lindell, BUF +1 +1 +100.0 +6 +6 +100.0 +42 +19 + ++4 +4520 +Josh Scobee, JAC +2 +2 +100.0 +5 +7 +71.4 +41 +17 + ++5 +287 +Phil Dawson, CLE +3 +4 +75.0 +4 +4 +100.0 +39 +15 + ++6 +338 +Jason Elam, DEN +3 +3 +100.0 +3 +5 +60.0 +45 +12 + ++ +4578 +Rob Bironas, TEN +3 +3 +100.0 +3 +4 +75.0 +47 +12 + ++7 +621 +Olindo Mare, MIA +5 +5 +100.0 +2 +3 +66.7 +44 +11 + ++ +4573 +Nate Kaeding, SDC +5 +5 +100.0 +2 +2 +100.0 +42 +11 + ++ +675 +Adam Vinatieri, NEP +5 +6 +83.3 +2 +2 +100.0 +45 +11 + ++8 +397 +Mike Vanderjagt, IND +4 +4 +100.0 +2 +2 +100.0 +41 +10 + ++9 +790 +Sebastian Janikowski, OAK +4 +4 +100.0 +1 +3 +33.3 +29 +7 + ++10 +5037 +Mike Nugent, NYJ +3 +3 +100.0 +1 +2 +50.0 +41 +6 + ++11 +180 +Matt Stover, BAL +2 +2 +100.0 +1 +4 +25.0 +30 +5 + + + September 21, 2005, at 09:53 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index cc4231c..b456e6f 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -193,7 +193,7 @@ dtds = "NFLTopPuntReturnXML.dtd", -- no xml "NFLTotalYardageXML.dtd", "NFLYardsXML.dtd", -- no dtd - "NFL_KickingLeaders_XML.dtd", -- no dtd + "NFL_KickingLeaders_XML.dtd", "NFL_NBA_Draft_XML.dtd", -- no dtd "NFL_PuntingLeaders_XML.dtd", -- no dtd "NFL_Roster_XML.dtd", -- no dtd @@ -427,7 +427,8 @@ sport_info_test_files = "nflstandxml.xml", "NFLTeamRankingsXML.xml", "NFLTopPerformanceXML.xml", - "NFLTotalYardageXML.xml" + "NFLTotalYardageXML.xml", + "NFL_KickingLeaders_XML.xml" ] diff --git a/test/xml/sportinfo/NFL_KickingLeaders_XML.dtd b/test/xml/sportinfo/NFL_KickingLeaders_XML.dtd new file mode 100644 index 0000000..f710dec --- /dev/null +++ b/test/xml/sportinfo/NFL_KickingLeaders_XML.dtd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFL_KickingLeaders_XML.xml b/test/xml/sportinfo/NFL_KickingLeaders_XML.xml new file mode 100644 index 0000000..99d229d --- /dev/null +++ b/test/xml/sportinfo/NFL_KickingLeaders_XML.xml @@ -0,0 +1,207 @@ + + + +3296634 +ABX%AFC-KICKING +Statistics +NFL +2005 AFC Kicking Leaders + ++1 +1919 +Shayne Graham, CIN +7 +7 +100.0 +5 +5 +100.0 +40 +22 + ++2 +3143 +Lawrence Tynes, KAN +5 +5 +100.0 +5 +7 +71.4 +42 +20 + ++3 +3268 +Jeff Reed, PIT +7 +7 +100.0 +4 +4 +100.0 +44 +19 + ++ +76 +Rian Lindell, BUF +1 +1 +100.0 +6 +6 +100.0 +42 +19 + ++4 +4520 +Josh Scobee, JAC +2 +2 +100.0 +5 +7 +71.4 +41 +17 + ++5 +287 +Phil Dawson, CLE +3 +4 +75.0 +4 +4 +100.0 +39 +15 + ++6 +338 +Jason Elam, DEN +3 +3 +100.0 +3 +5 +60.0 +45 +12 + ++ +4578 +Rob Bironas, TEN +3 +3 +100.0 +3 +4 +75.0 +47 +12 + ++7 +621 +Olindo Mare, MIA +5 +5 +100.0 +2 +3 +66.7 +44 +11 + ++ +4573 +Nate Kaeding, SDC +5 +5 +100.0 +2 +2 +100.0 +42 +11 + ++ +675 +Adam Vinatieri, NEP +5 +6 +83.3 +2 +2 +100.0 +45 +11 + ++8 +397 +Mike Vanderjagt, IND +4 +4 +100.0 +2 +2 +100.0 +41 +10 + ++9 +790 +Sebastian Janikowski, OAK +4 +4 +100.0 +1 +3 +33.3 +29 +7 + ++10 +5037 +Mike Nugent, NYJ +3 +3 +100.0 +1 +2 +50.0 +41 +6 + ++11 +180 +Matt Stover, BAL +2 +2 +100.0 +1 +4 +25.0 +30 +5 + + + September 21, 2005, at 09:53 AM ET +