From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:32:45 +0000 (-0400) Subject: Add SportInfo support for NFLKickoffsXML.dtd. X-Git-Tag: 0.0.6~102 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=80198b5ab212fa9942465bae3e3842aa422307ec;p=dead%2Fhtsn-import.git Add SportInfo support for NFLKickoffsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index e8ef661..cd84926 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -314,6 +314,8 @@ NFLFumbleLeaderXML.dtd NFLGiveTakeXML.dtd .IP \[bu] NFLInside20XML.dtd +.IP \[bu] +NFLKickoffsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLKickoffsXML.dtd b/schema/NFLKickoffsXML.dtd new file mode 100644 index 0000000..80ad056 --- /dev/null +++ b/schema/NFLKickoffsXML.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLKickoffsXML/NFLKickoffsXML.xml b/schemagen/NFLKickoffsXML/NFLKickoffsXML.xml new file mode 100644 index 0000000..381493f --- /dev/null +++ b/schemagen/NFLKickoffsXML/NFLKickoffsXML.xml @@ -0,0 +1,498 @@ + + + +9000776 +ABX%NFL-KICKOFFS +Statistics +NFL +2002 NFL Statistics - Kickoffs + + ++New York Jets +16 +15 +1 +37.1 + ++Oakland +7 +7 +0 +36.1 + ++Miami +8 +8 +1 +29.8 + ++Houston +9 +8 +1 +29.0 + ++Pittsburgh +14 +14 +1 +28.6 + ++Buffalo +16 +15 +4 +28.3 + ++Cleveland +9 +9 +1 +27.2 + ++Kansas City +13 +13 +1 +27.1 + ++New England +4 +4 +0 +26.3 + ++San Diego +5 +5 +0 +26.0 + ++Indianapolis +9 +9 +0 +25.4 + ++Jacksonville +10 +10 +3 +24.0 + ++Baltimore +9 +9 +1 +23.9 + ++Cincinnati +12 +12 +3 +22.4 + ++Denver +7 +5 +0 +21.2 + ++Tennessee +9 +8 +2 +21.1 + ++Totals +157 +151 +19 +27.6 + + + ++Tennessee +10 +10 +2 +21.9 + ++Jacksonville +9 +9 +0 +22.2 + ++New York Jets +9 +8 +2 +22.3 + ++Denver +11 +10 +3 +24.3 + ++San Diego +12 +11 +2 +24.5 + ++Houston +6 +5 +0 +24.8 + ++Baltimore +4 +4 +0 +25.8 + ++Cincinnati +5 +5 +0 +26.2 + ++Kansas City +12 +12 +2 +26.3 + ++Cleveland +14 +14 +2 +26.6 + ++Indianapolis +9 +9 +2 +26.8 + ++Miami +12 +11 +0 +27.2 + ++New England +16 +15 +1 +28.1 + ++Oakland +13 +13 +2 +29.2 + ++Buffalo +15 +15 +1 +37.8 + ++Pittsburgh +5 +5 +0 +43.2 + ++Totals +162 +156 +19 +27.4 + + + + + ++Arizona +10 +10 +0 +42.4 + ++Tampa Bay +8 +8 +0 +36.1 + ++Atlanta +9 +9 +0 +35.6 + ++Seattle +11 +11 +1 +29.8 + ++San Francisco +8 +8 +1 +28.8 + ++Minnesota +14 +14 +2 +27.3 + ++New York Giants +9 +9 +0 +26.2 + ++St. Louis +13 +12 +2 +25.7 + ++Chicago +9 +9 +0 +25.3 + ++Green Bay +14 +13 +2 +25.0 + ++Detroit +14 +13 +0 +24.5 + ++Washington +13 +13 +1 +23.9 + ++New Orleans +9 +9 +3 +23.1 + ++Philadelphia +8 +8 +1 +22.6 + ++Dallas +8 +7 +1 +22.6 + ++Carolina +4 +4 +0 +20.8 + ++Totals +161 +157 +14 +27.6 + + + ++Philadelphia +12 +11 +2 +21.0 + ++St. Louis +8 +7 +0 +22.7 + ++Carolina +9 +9 +0 +23.2 + ++Tampa Bay +10 +10 +2 +24.0 + ++Dallas +8 +8 +2 +25.8 + ++San Francisco +8 +7 +0 +26.1 + ++Detroit +6 +6 +1 +26.3 + ++Green Bay +11 +11 +2 +26.5 + ++Atlanta +11 +10 +0 +26.5 + ++Arizona +11 +11 +0 +28.2 + ++New York Giants +10 +10 +0 +29.5 + ++Minnesota +15 +15 +2 +29.5 + ++New Orleans +12 +12 +2 +30.3 + ++Chicago +9 +9 +1 +32.8 + ++Seattle +8 +8 +0 +35.1 + ++Washington +8 +8 +0 +35.8 + ++Totals +156 +152 +14 +27.7 + + + + September 20, 2002, at 10:31 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 7961383..8ab5c0f 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -177,7 +177,7 @@ dtds = "NFLGrassTurfDomeOutsideXML.dtd", -- no dtd "NFLInside20XML.dtd", "NFLInterceptionLeadersXML.dtd", -- no dtd - "NFLKickoffsXML.dtd", -- no dtd + "NFLKickoffsXML.dtd", "NFLMondayNightXML.dtd", -- no dtd "NFLPassingLeadersXML.dtd", -- no dtd "NFLPassLeadXML.dtd", -- no dtd @@ -418,7 +418,8 @@ sport_info_test_files = "nflfirstdownxml.xml", "NFLFumbleLeaderXML.xml", "NFLGiveTakeXML.xml", - "NFLInside20XML.xml" + "NFLInside20XML.xml", + "NFLKickoffsXML.xml" ] diff --git a/test/xml/sportinfo/NFLKickoffsXML.dtd b/test/xml/sportinfo/NFLKickoffsXML.dtd new file mode 100644 index 0000000..80ad056 --- /dev/null +++ b/test/xml/sportinfo/NFLKickoffsXML.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLKickoffsXML.xml b/test/xml/sportinfo/NFLKickoffsXML.xml new file mode 100644 index 0000000..381493f --- /dev/null +++ b/test/xml/sportinfo/NFLKickoffsXML.xml @@ -0,0 +1,498 @@ + + + +9000776 +ABX%NFL-KICKOFFS +Statistics +NFL +2002 NFL Statistics - Kickoffs + + ++New York Jets +16 +15 +1 +37.1 + ++Oakland +7 +7 +0 +36.1 + ++Miami +8 +8 +1 +29.8 + ++Houston +9 +8 +1 +29.0 + ++Pittsburgh +14 +14 +1 +28.6 + ++Buffalo +16 +15 +4 +28.3 + ++Cleveland +9 +9 +1 +27.2 + ++Kansas City +13 +13 +1 +27.1 + ++New England +4 +4 +0 +26.3 + ++San Diego +5 +5 +0 +26.0 + ++Indianapolis +9 +9 +0 +25.4 + ++Jacksonville +10 +10 +3 +24.0 + ++Baltimore +9 +9 +1 +23.9 + ++Cincinnati +12 +12 +3 +22.4 + ++Denver +7 +5 +0 +21.2 + ++Tennessee +9 +8 +2 +21.1 + ++Totals +157 +151 +19 +27.6 + + + ++Tennessee +10 +10 +2 +21.9 + ++Jacksonville +9 +9 +0 +22.2 + ++New York Jets +9 +8 +2 +22.3 + ++Denver +11 +10 +3 +24.3 + ++San Diego +12 +11 +2 +24.5 + ++Houston +6 +5 +0 +24.8 + ++Baltimore +4 +4 +0 +25.8 + ++Cincinnati +5 +5 +0 +26.2 + ++Kansas City +12 +12 +2 +26.3 + ++Cleveland +14 +14 +2 +26.6 + ++Indianapolis +9 +9 +2 +26.8 + ++Miami +12 +11 +0 +27.2 + ++New England +16 +15 +1 +28.1 + ++Oakland +13 +13 +2 +29.2 + ++Buffalo +15 +15 +1 +37.8 + ++Pittsburgh +5 +5 +0 +43.2 + ++Totals +162 +156 +19 +27.4 + + + + + ++Arizona +10 +10 +0 +42.4 + ++Tampa Bay +8 +8 +0 +36.1 + ++Atlanta +9 +9 +0 +35.6 + ++Seattle +11 +11 +1 +29.8 + ++San Francisco +8 +8 +1 +28.8 + ++Minnesota +14 +14 +2 +27.3 + ++New York Giants +9 +9 +0 +26.2 + ++St. Louis +13 +12 +2 +25.7 + ++Chicago +9 +9 +0 +25.3 + ++Green Bay +14 +13 +2 +25.0 + ++Detroit +14 +13 +0 +24.5 + ++Washington +13 +13 +1 +23.9 + ++New Orleans +9 +9 +3 +23.1 + ++Philadelphia +8 +8 +1 +22.6 + ++Dallas +8 +7 +1 +22.6 + ++Carolina +4 +4 +0 +20.8 + ++Totals +161 +157 +14 +27.6 + + + ++Philadelphia +12 +11 +2 +21.0 + ++St. Louis +8 +7 +0 +22.7 + ++Carolina +9 +9 +0 +23.2 + ++Tampa Bay +10 +10 +2 +24.0 + ++Dallas +8 +8 +2 +25.8 + ++San Francisco +8 +7 +0 +26.1 + ++Detroit +6 +6 +1 +26.3 + ++Green Bay +11 +11 +2 +26.5 + ++Atlanta +11 +10 +0 +26.5 + ++Arizona +11 +11 +0 +28.2 + ++New York Giants +10 +10 +0 +29.5 + ++Minnesota +15 +15 +2 +29.5 + ++New Orleans +12 +12 +2 +30.3 + ++Chicago +9 +9 +1 +32.8 + ++Seattle +8 +8 +0 +35.1 + ++Washington +8 +8 +0 +35.8 + ++Totals +156 +152 +14 +27.7 + + + + September 20, 2002, at 10:31 AM ET +