From: Michael Orlitzky Date: Mon, 23 Jun 2014 14:37:47 +0000 (-0400) Subject: Add SportInfo support for NFLTotalYardageXML.dtd. X-Git-Tag: 0.0.6~94 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=345f5c3acbe2c7260cd8ccc70e5288ca6f6ea37a;p=dead%2Fhtsn-import.git Add SportInfo support for NFLTotalYardageXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 220a7e0..3baf7dc 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -330,6 +330,8 @@ nflstandxml.dtd NFLTeamRankingsXML.dtd .IP \[bu] NFLTopPerformanceXML.dtd +.IP \[bu] +NFLTotalYardageXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLTotalYardageXML.dtd b/schema/NFLTotalYardageXML.dtd new file mode 100644 index 0000000..23f4153 --- /dev/null +++ b/schema/NFLTotalYardageXML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLTotalYardageXML/NFLTotalYardageXML.xml b/schemagen/NFLTotalYardageXML/NFLTotalYardageXML.xml new file mode 100644 index 0000000..f343900 --- /dev/null +++ b/schemagen/NFLTotalYardageXML/NFLTotalYardageXML.xml @@ -0,0 +1,580 @@ + + + +91217 +ABX%NFL-YARDAGE +Statistics +NFL +2001 NFL Statistics - Total Yardage + + ++Indianapolis +4200 +1328 +2872 +381.8 +120.7 +261.1 + ++Pittsburgh +3948 +1973 +1975 +358.9 +179.4 +179.5 + ++Kansas City +3834 +1329 +2505 +348.5 +120.8 +227.7 + ++Oakland +3816 +1237 +2579 +346.9 +112.5 +234.5 + ++Baltimore +4004 +1293 +2711 +333.7 +107.8 +225.9 + ++San Diego +3806 +1314 +2492 +317.2 +109.5 +207.7 + ++Buffalo +3442 +1065 +2377 +312.9 +96.8 +216.1 + ++Tennessee +3433 +1097 +2336 +312.1 +99.7 +212.4 + ++Denver +3723 +1397 +2326 +310.3 +116.4 +193.8 + ++Miami +3398 +1104 +2294 +308.9 +100.4 +208.5 + ++New England +3646 +1285 +2361 +303.8 +107.1 +196.8 + ++Seattle +3228 +1384 +1844 +293.5 +125.8 +167.6 + ++Jacksonville +3212 +923 +2289 +292.0 +83.9 +208.1 + ++New York Jets +3138 +1460 +1678 +285.3 +132.7 +152.5 + ++Cincinnati +3091 +1141 +1950 +281.0 +103.7 +177.3 + ++Cleveland +2736 +928 +1808 +248.7 +84.4 +164.4 + + + ++Pittsburgh +2842 +793 +2049 +258.4 +72.1 +186.3 + ++Baltimore +3297 +894 +2403 +274.8 +74.5 +200.3 + ++Miami +3118 +1156 +1962 +283.5 +105.1 +178.4 + ++Denver +3432 +1083 +2349 +286.0 +90.3 +195.8 + ++Cincinnati +3321 +1213 +2108 +301.9 +110.3 +191.6 + ++San Diego +3702 +1169 +2533 +308.5 +97.4 +211.1 + ++New York Jets +3462 +1456 +2006 +314.7 +132.4 +182.4 + ++Cleveland +3536 +1368 +2168 +321.5 +124.4 +197.1 + ++Seattle +3553 +1188 +2365 +323.0 +108.0 +215.0 + ++Oakland +3555 +1413 +2142 +323.2 +128.5 +194.7 + ++Kansas City +3556 +1470 +2086 +323.3 +133.6 +189.6 + ++Buffalo +3573 +1509 +2064 +324.8 +137.2 +187.6 + ++Tennessee +3640 +985 +2655 +330.9 +89.5 +241.4 + ++New England +4075 +1444 +2631 +339.6 +120.3 +219.3 + ++Jacksonville +3749 +1215 +2534 +340.8 +110.5 +230.4 + ++Indianapolis +3880 +1461 +2419 +352.7 +132.8 +219.9 + + + + + ++St. Louis +4587 +1325 +3262 +417.0 +120.5 +296.5 + ++San Francisco +4248 +1705 +2543 +386.2 +155.0 +231.2 + ++New Orleans +3927 +1349 +2578 +357.0 +122.6 +234.4 + ++Green Bay +3901 +1112 +2789 +354.6 +101.1 +253.5 + ++Minnesota +3680 +1068 +2612 +334.5 +97.1 +237.5 + ++Arizona +3560 +1003 +2557 +323.6 +91.2 +232.5 + ++Detroit +3523 +867 +2656 +320.3 +78.8 +241.5 + ++New York Giants +3482 +1184 +2298 +316.5 +107.6 +208.9 + ++Philadelphia +3414 +1342 +2072 +310.4 +122.0 +188.4 + ++Atlanta +3392 +1331 +2061 +308.4 +121.0 +187.4 + ++Tampa Bay +3287 +878 +2409 +298.8 +79.8 +219.0 + ++Chicago +3241 +1121 +2120 +294.6 +101.9 +192.7 + ++Dallas +2868 +1512 +1356 +260.7 +137.5 +123.3 + ++Washington +2846 +1221 +1625 +258.7 +111.0 +147.7 + ++Carolina +2981 +909 +2072 +248.4 +75.8 +172.7 + + + ++St. Louis +3023 +954 +2069 +274.8 +86.7 +188.1 + ++Philadelphia +3046 +1267 +1779 +276.9 +115.2 +161.7 + ++Green Bay +3162 +1039 +2123 +287.5 +94.5 +193.0 + ++Dallas +3182 +1157 +2025 +289.3 +105.2 +184.1 + ++Tampa Bay +3197 +1151 +2046 +290.6 +104.6 +186.0 + ++New York Giants +3368 +1030 +2338 +306.2 +93.6 +212.5 + ++New Orleans +3441 +1141 +2300 +312.8 +103.7 +209.1 + ++Chicago +3526 +841 +2685 +320.5 +76.5 +244.1 + ++San Francisco +3557 +1084 +2473 +323.4 +98.5 +224.8 + ++Washington +3596 +1469 +2127 +326.9 +133.5 +193.4 + ++Detroit +3832 +1428 +2404 +348.4 +129.8 +218.5 + ++Minnesota +3857 +1468 +2389 +350.6 +133.5 +217.2 + ++Atlanta +3872 +1210 +2662 +352.0 +110.0 +242.0 + ++Arizona +4109 +1405 +2704 +373.5 +127.7 +245.8 + ++Carolina +4533 +1724 +2809 +377.8 +143.7 +234.1 + + + + December 5, 2001, at 04:51 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 37764d4..cc4231c 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -190,8 +190,8 @@ dtds = "NFLTeamRankingsXML.dtd", "NFLTopKickoffReturnXML.dtd", -- no xml "NFLTopPerformanceXML.dtd", - "NFLTopPuntReturnXML.dtd", -- no dtd - "NFLTotalYardageXML.dtd", -- no dtd + "NFLTopPuntReturnXML.dtd", -- no xml + "NFLTotalYardageXML.dtd", "NFLYardsXML.dtd", -- no dtd "NFL_KickingLeaders_XML.dtd", -- no dtd "NFL_NBA_Draft_XML.dtd", -- no dtd @@ -426,7 +426,8 @@ sport_info_test_files = "NFLSackLeadersXML.xml", "nflstandxml.xml", "NFLTeamRankingsXML.xml", - "NFLTopPerformanceXML.xml" + "NFLTopPerformanceXML.xml", + "NFLTotalYardageXML.xml" ] diff --git a/test/xml/sportinfo/NFLTotalYardageXML.dtd b/test/xml/sportinfo/NFLTotalYardageXML.dtd new file mode 100644 index 0000000..23f4153 --- /dev/null +++ b/test/xml/sportinfo/NFLTotalYardageXML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLTotalYardageXML.xml b/test/xml/sportinfo/NFLTotalYardageXML.xml new file mode 100644 index 0000000..f343900 --- /dev/null +++ b/test/xml/sportinfo/NFLTotalYardageXML.xml @@ -0,0 +1,580 @@ + + + +91217 +ABX%NFL-YARDAGE +Statistics +NFL +2001 NFL Statistics - Total Yardage + + ++Indianapolis +4200 +1328 +2872 +381.8 +120.7 +261.1 + ++Pittsburgh +3948 +1973 +1975 +358.9 +179.4 +179.5 + ++Kansas City +3834 +1329 +2505 +348.5 +120.8 +227.7 + ++Oakland +3816 +1237 +2579 +346.9 +112.5 +234.5 + ++Baltimore +4004 +1293 +2711 +333.7 +107.8 +225.9 + ++San Diego +3806 +1314 +2492 +317.2 +109.5 +207.7 + ++Buffalo +3442 +1065 +2377 +312.9 +96.8 +216.1 + ++Tennessee +3433 +1097 +2336 +312.1 +99.7 +212.4 + ++Denver +3723 +1397 +2326 +310.3 +116.4 +193.8 + ++Miami +3398 +1104 +2294 +308.9 +100.4 +208.5 + ++New England +3646 +1285 +2361 +303.8 +107.1 +196.8 + ++Seattle +3228 +1384 +1844 +293.5 +125.8 +167.6 + ++Jacksonville +3212 +923 +2289 +292.0 +83.9 +208.1 + ++New York Jets +3138 +1460 +1678 +285.3 +132.7 +152.5 + ++Cincinnati +3091 +1141 +1950 +281.0 +103.7 +177.3 + ++Cleveland +2736 +928 +1808 +248.7 +84.4 +164.4 + + + ++Pittsburgh +2842 +793 +2049 +258.4 +72.1 +186.3 + ++Baltimore +3297 +894 +2403 +274.8 +74.5 +200.3 + ++Miami +3118 +1156 +1962 +283.5 +105.1 +178.4 + ++Denver +3432 +1083 +2349 +286.0 +90.3 +195.8 + ++Cincinnati +3321 +1213 +2108 +301.9 +110.3 +191.6 + ++San Diego +3702 +1169 +2533 +308.5 +97.4 +211.1 + ++New York Jets +3462 +1456 +2006 +314.7 +132.4 +182.4 + ++Cleveland +3536 +1368 +2168 +321.5 +124.4 +197.1 + ++Seattle +3553 +1188 +2365 +323.0 +108.0 +215.0 + ++Oakland +3555 +1413 +2142 +323.2 +128.5 +194.7 + ++Kansas City +3556 +1470 +2086 +323.3 +133.6 +189.6 + ++Buffalo +3573 +1509 +2064 +324.8 +137.2 +187.6 + ++Tennessee +3640 +985 +2655 +330.9 +89.5 +241.4 + ++New England +4075 +1444 +2631 +339.6 +120.3 +219.3 + ++Jacksonville +3749 +1215 +2534 +340.8 +110.5 +230.4 + ++Indianapolis +3880 +1461 +2419 +352.7 +132.8 +219.9 + + + + + ++St. Louis +4587 +1325 +3262 +417.0 +120.5 +296.5 + ++San Francisco +4248 +1705 +2543 +386.2 +155.0 +231.2 + ++New Orleans +3927 +1349 +2578 +357.0 +122.6 +234.4 + ++Green Bay +3901 +1112 +2789 +354.6 +101.1 +253.5 + ++Minnesota +3680 +1068 +2612 +334.5 +97.1 +237.5 + ++Arizona +3560 +1003 +2557 +323.6 +91.2 +232.5 + ++Detroit +3523 +867 +2656 +320.3 +78.8 +241.5 + ++New York Giants +3482 +1184 +2298 +316.5 +107.6 +208.9 + ++Philadelphia +3414 +1342 +2072 +310.4 +122.0 +188.4 + ++Atlanta +3392 +1331 +2061 +308.4 +121.0 +187.4 + ++Tampa Bay +3287 +878 +2409 +298.8 +79.8 +219.0 + ++Chicago +3241 +1121 +2120 +294.6 +101.9 +192.7 + ++Dallas +2868 +1512 +1356 +260.7 +137.5 +123.3 + ++Washington +2846 +1221 +1625 +258.7 +111.0 +147.7 + ++Carolina +2981 +909 +2072 +248.4 +75.8 +172.7 + + + ++St. Louis +3023 +954 +2069 +274.8 +86.7 +188.1 + ++Philadelphia +3046 +1267 +1779 +276.9 +115.2 +161.7 + ++Green Bay +3162 +1039 +2123 +287.5 +94.5 +193.0 + ++Dallas +3182 +1157 +2025 +289.3 +105.2 +184.1 + ++Tampa Bay +3197 +1151 +2046 +290.6 +104.6 +186.0 + ++New York Giants +3368 +1030 +2338 +306.2 +93.6 +212.5 + ++New Orleans +3441 +1141 +2300 +312.8 +103.7 +209.1 + ++Chicago +3526 +841 +2685 +320.5 +76.5 +244.1 + ++San Francisco +3557 +1084 +2473 +323.4 +98.5 +224.8 + ++Washington +3596 +1469 +2127 +326.9 +133.5 +193.4 + ++Detroit +3832 +1428 +2404 +348.4 +129.8 +218.5 + ++Minnesota +3857 +1468 +2389 +350.6 +133.5 +217.2 + ++Atlanta +3872 +1210 +2662 +352.0 +110.0 +242.0 + ++Arizona +4109 +1405 +2704 +373.5 +127.7 +245.8 + ++Carolina +4533 +1724 +2809 +377.8 +143.7 +234.1 + + + + December 5, 2001, at 04:51 PM ET +