From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:29:18 +0000 (-0400) Subject: Add SportInfo support for NFLInside20XML.dtd. X-Git-Tag: 0.0.6~103 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f5ae66488ff0da40ef14521ebb4474a2995ce77b;p=dead%2Fhtsn-import.git Add SportInfo support for NFLInside20XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 2f6ffb7..e8ef661 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -312,6 +312,8 @@ nflfirstdownxml.dtd NFLFumbleLeaderXML.dtd .IP \[bu] NFLGiveTakeXML.dtd +.IP \[bu] +NFLInside20XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLInside20XML.dtd b/schema/NFLInside20XML.dtd new file mode 100644 index 0000000..fb30dac --- /dev/null +++ b/schema/NFLInside20XML.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLInside20XML/NFLInside20XML.xml b/schemagen/NFLInside20XML/NFLInside20XML.xml new file mode 100644 index 0000000..202e3a8 --- /dev/null +++ b/schemagen/NFLInside20XML/NFLInside20XML.xml @@ -0,0 +1,519 @@ + + + +19627 +ABX%NFL-INSIDE-20 +Statistics +NFL +2001 NFL Statistics - Inside 20-Yard Line + + ++Indianapolis +30 +149 +19 +6 +63.3 + ++Oakland +36 +190 +22 +12 +61.1 + ++Jacksonville +24 +103 +14 +2 +58.3 + ++New York Jets +28 +129 +15 +8 +53.6 + ++New England +36 +156 +19 +8 +52.8 + ++Tennessee +21 +89 +11 +4 +52.4 + ++Seattle +25 +115 +13 +8 +52.0 + ++Denver +39 +180 +20 +13 +51.3 + ++Buffalo +25 +109 +12 +9 +48.0 + ++Kansas City +31 +132 +14 +12 +45.2 + ++Cleveland +27 +122 +12 +13 +44.4 + ++Baltimore +34 +137 +15 +12 +44.1 + ++Cincinnati +28 +103 +12 +6 +42.9 + ++San Diego +42 +172 +18 +16 +42.9 + ++Miami +27 +114 +11 +12 +40.7 + ++Pittsburgh +30 +102 +9 +13 +30.0 + + + ++Cleveland +24 +83 +7 +11 +29.2 + ++Kansas City +23 +93 +9 +10 +39.1 + ++New York Jets +28 +100 +11 +8 +39.3 + ++New England +39 +168 +18 +14 +46.2 + ++Jacksonville +29 +126 +14 +10 +48.3 + ++Baltimore +28 +116 +14 +6 +50.0 + ++San Diego +38 +173 +19 +14 +50.0 + ++Tennessee +34 +151 +17 +11 +50.0 + ++Denver +33 +157 +17 +13 +51.5 + ++Oakland +31 +145 +17 +9 +54.8 + ++Pittsburgh +18 +80 +10 +3 +55.6 + ++Cincinnati +32 +146 +18 +7 +56.3 + ++Seattle +31 +154 +18 +10 +58.1 + ++Indianapolis +29 +142 +17 +8 +58.6 + ++Buffalo +32 +151 +19 +6 +59.4 + ++Miami +23 +117 +14 +7 +60.9 + + + + + ++Philadelphia +30 +158 +18 +11 +60.0 + ++San Francisco +30 +153 +18 +9 +60.0 + ++St. Louis +41 +196 +23 +12 +56.1 + ++Minnesota +24 +111 +13 +6 +54.2 + ++Detroit +28 +123 +15 +6 +53.6 + ++Arizona +24 +99 +12 +5 +50.0 + ++Green Bay +30 +123 +15 +6 +50.0 + ++New York Giants +30 +131 +15 +9 +50.0 + ++Tampa Bay +35 +153 +17 +11 +48.6 + ++Carolina +24 +100 +11 +8 +45.8 + ++Chicago +25 +96 +11 +6 +44.0 + ++Atlanta +32 +140 +14 +14 +43.8 + ++New Orleans +37 +161 +16 +17 +43.2 + ++Dallas +31 +105 +11 +10 +35.5 + ++Washington +21 +73 +7 +8 +33.3 + + + ++New York Giants +31 +105 +10 +12 +32.3 + ++Philadelphia +30 +98 +10 +10 +33.3 + ++Tampa Bay +25 +93 +9 +9 +36.0 + ++Atlanta +29 +114 +12 +10 +41.4 + ++Chicago +21 +85 +9 +7 +42.9 + ++Washington +31 +134 +14 +12 +45.2 + ++Green Bay +24 +102 +11 +8 +45.8 + ++St. Louis +29 +120 +14 +8 +48.3 + ++Carolina +36 +163 +18 +12 +50.0 + ++Dallas +38 +173 +19 +14 +50.0 + ++Minnesota +39 +176 +20 +13 +51.3 + ++San Francisco +31 +145 +16 +11 +51.6 + ++Arizona +34 +157 +18 +10 +52.9 + ++Detroit +32 +148 +19 +5 +59.4 + ++New Orleans +23 +109 +14 +4 +60.9 + + + + November 29, 2001, at 12:36 PM ET + + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index eda39f2..7961383 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -175,7 +175,7 @@ dtds = "NFLFumbleLeaderXML.dtd", "NFLGiveTakeXML.dtd", "NFLGrassTurfDomeOutsideXML.dtd", -- no dtd - "NFLInside20XML.dtd", -- no dtd + "NFLInside20XML.dtd", "NFLInterceptionLeadersXML.dtd", -- no dtd "NFLKickoffsXML.dtd", -- no dtd "NFLMondayNightXML.dtd", -- no dtd @@ -417,7 +417,8 @@ sport_info_test_files = "NCAA_Conference_Schedule_XML.xml", "nflfirstdownxml.xml", "NFLFumbleLeaderXML.xml", - "NFLGiveTakeXML.xml" + "NFLGiveTakeXML.xml", + "NFLInside20XML.xml" ] diff --git a/test/xml/sportinfo/NFLInside20XML.dtd b/test/xml/sportinfo/NFLInside20XML.dtd new file mode 100644 index 0000000..fb30dac --- /dev/null +++ b/test/xml/sportinfo/NFLInside20XML.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLInside20XML.xml b/test/xml/sportinfo/NFLInside20XML.xml new file mode 100644 index 0000000..202e3a8 --- /dev/null +++ b/test/xml/sportinfo/NFLInside20XML.xml @@ -0,0 +1,519 @@ + + + +19627 +ABX%NFL-INSIDE-20 +Statistics +NFL +2001 NFL Statistics - Inside 20-Yard Line + + ++Indianapolis +30 +149 +19 +6 +63.3 + ++Oakland +36 +190 +22 +12 +61.1 + ++Jacksonville +24 +103 +14 +2 +58.3 + ++New York Jets +28 +129 +15 +8 +53.6 + ++New England +36 +156 +19 +8 +52.8 + ++Tennessee +21 +89 +11 +4 +52.4 + ++Seattle +25 +115 +13 +8 +52.0 + ++Denver +39 +180 +20 +13 +51.3 + ++Buffalo +25 +109 +12 +9 +48.0 + ++Kansas City +31 +132 +14 +12 +45.2 + ++Cleveland +27 +122 +12 +13 +44.4 + ++Baltimore +34 +137 +15 +12 +44.1 + ++Cincinnati +28 +103 +12 +6 +42.9 + ++San Diego +42 +172 +18 +16 +42.9 + ++Miami +27 +114 +11 +12 +40.7 + ++Pittsburgh +30 +102 +9 +13 +30.0 + + + ++Cleveland +24 +83 +7 +11 +29.2 + ++Kansas City +23 +93 +9 +10 +39.1 + ++New York Jets +28 +100 +11 +8 +39.3 + ++New England +39 +168 +18 +14 +46.2 + ++Jacksonville +29 +126 +14 +10 +48.3 + ++Baltimore +28 +116 +14 +6 +50.0 + ++San Diego +38 +173 +19 +14 +50.0 + ++Tennessee +34 +151 +17 +11 +50.0 + ++Denver +33 +157 +17 +13 +51.5 + ++Oakland +31 +145 +17 +9 +54.8 + ++Pittsburgh +18 +80 +10 +3 +55.6 + ++Cincinnati +32 +146 +18 +7 +56.3 + ++Seattle +31 +154 +18 +10 +58.1 + ++Indianapolis +29 +142 +17 +8 +58.6 + ++Buffalo +32 +151 +19 +6 +59.4 + ++Miami +23 +117 +14 +7 +60.9 + + + + + ++Philadelphia +30 +158 +18 +11 +60.0 + ++San Francisco +30 +153 +18 +9 +60.0 + ++St. Louis +41 +196 +23 +12 +56.1 + ++Minnesota +24 +111 +13 +6 +54.2 + ++Detroit +28 +123 +15 +6 +53.6 + ++Arizona +24 +99 +12 +5 +50.0 + ++Green Bay +30 +123 +15 +6 +50.0 + ++New York Giants +30 +131 +15 +9 +50.0 + ++Tampa Bay +35 +153 +17 +11 +48.6 + ++Carolina +24 +100 +11 +8 +45.8 + ++Chicago +25 +96 +11 +6 +44.0 + ++Atlanta +32 +140 +14 +14 +43.8 + ++New Orleans +37 +161 +16 +17 +43.2 + ++Dallas +31 +105 +11 +10 +35.5 + ++Washington +21 +73 +7 +8 +33.3 + + + ++New York Giants +31 +105 +10 +12 +32.3 + ++Philadelphia +30 +98 +10 +10 +33.3 + ++Tampa Bay +25 +93 +9 +9 +36.0 + ++Atlanta +29 +114 +12 +10 +41.4 + ++Chicago +21 +85 +9 +7 +42.9 + ++Washington +31 +134 +14 +12 +45.2 + ++Green Bay +24 +102 +11 +8 +45.8 + ++St. Louis +29 +120 +14 +8 +48.3 + ++Carolina +36 +163 +18 +12 +50.0 + ++Dallas +38 +173 +19 +14 +50.0 + ++Minnesota +39 +176 +20 +13 +51.3 + ++San Francisco +31 +145 +16 +11 +51.6 + ++Arizona +34 +157 +18 +10 +52.9 + ++Detroit +32 +148 +19 +5 +59.4 + ++New Orleans +23 +109 +14 +4 +60.9 + + + + November 29, 2001, at 12:36 PM ET + +