From: Michael Orlitzky Date: Sun, 22 Jun 2014 17:08:58 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Strike_Outs_Leaders.dtd. X-Git-Tag: 0.0.6~131 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4a394d2733e0b8bb92d49200858e02bd95827e61;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Strike_Outs_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 77be2d8..693cf8f 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -256,6 +256,8 @@ MLB_Pitching_Saves_Leaders.dtd MLB_Pitching_Shut_Outs_Leaders.dtd .IP \[bu] MLB_Pitching_Starts_Leaders.dtd +.IP \[bu] +MLB_Pitching_Strike_Outs_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Strike_Outs_Leaders.dtd b/schema/MLB_Pitching_Strike_Outs_Leaders.dtd new file mode 100644 index 0000000..81a0a99 --- /dev/null +++ b/schema/MLB_Pitching_Strike_Outs_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Strike_Outs_Leaders/MLB_Pitching_Strike_Outs_Leaders.xml b/schemagen/MLB_Pitching_Strike_Outs_Leaders/MLB_Pitching_Strike_Outs_Leaders.xml new file mode 100644 index 0000000..3a109fa --- /dev/null +++ b/schemagen/MLB_Pitching_Strike_Outs_Leaders/MLB_Pitching_Strike_Outs_Leaders.xml @@ -0,0 +1,332 @@ + + + +70209717 +AAX%AL-STRIKEOUTS-LEADERS +Statistics +MLB +2002 AL StrikeOuts Leaders + ++1 +Roger Clemens, NYY +113 +103.0 +38 +3.0 + ++2 +Pedro Martinez, BOS +110 +95.2 +21 +5.2 + ++3 +Freddy Garcia, SEA +96 +113.1 +25 +3.8 + ++4 +Barry Zito, OAK +92 +102.2 +34 +2.7 + ++5 +Roy Halladay, TOR +91 +113.0 +26 +3.5 + ++6 +Mike Mussina, NYY +87 +103.2 +23 +3.8 + ++7 +Chuck Finley, CLE +80 +89.0 +38 +2.1 + ++8 +Ramon Ortiz, ANA +79 +102.1 +27 +2.9 + ++9 +Tim Hudson, OAK +78 +108.2 +34 +2.3 + ++10 +Bartolo Colon, CLE +75 +116.1 +31 +2.4 + ++11 +Jarrod Washburn, ANA +72 +92.2 +28 +2.6 + ++12 +Jeff Weaver, DET +71 +114.0 +32 +2.2 + ++13 +Danys Baez, CLE +68 +81.0 +43 +1.6 + ++14 +Ryan Rupe, TB +67 +87.2 +22 +3.0 + ++ +David Wells, NYY +67 +99.2 +29 +2.3 + ++16 +C.C. Sabathia, CLE +65 +90.0 +41 +1.6 + ++ +Mark Buehrle, SOX +65 +110.0 +33 +2.0 + ++ +Derek Lowe, BOS +65 +104.1 +24 +2.7 + ++19 +Joel Pineiro, SEA +64 +83.0 +30 +2.1 + ++ +Joe Kennedy, TB +64 +101.1 +25 +2.6 + ++21 +Sidney Ponson, BAL +63 +95.0 +36 +1.8 + ++ +Ryan Drese, CLE +63 +80.1 +35 +1.8 + ++23 +Dave Burba, TEX +60 +90.0 +29 +2.1 + ++ +Tanyon Sturtze, TB +60 +97.1 +43 +1.4 + ++25 +Jamie Moyer, SEA +59 +106.1 +22 +2.7 + ++26 +Eric Milton, MIN +57 +94.0 +16 +3.6 + ++ +Kevin Appier, ANA +57 +82.1 +25 +2.3 + ++ +Ted Lilly, NYY +57 +72.2 +21 +2.7 + ++ +Paul Byrd, KC +57 +97.1 +16 +3.6 + ++30 +Paul Wilson, TB +55 +95.1 +31 +1.8 + ++31 +Jeff Suppan, KC +54 +100.1 +24 +2.3 + ++ +Rick Reed, MIN +54 +82.1 +13 +4.2 + ++33 +John Burkett, BOS +53 +71.1 +18 +2.9 + ++ +Danny Wright, SOX +53 +92.0 +33 +1.6 + ++ +Todd Ritchie, SOX +53 +93.1 +33 +1.6 + ++ +Mark Redman, DET +53 +105.2 +30 +1.8 + ++37 +Frank Castillo, BOS +52 +83.0 +27 +1.9 + ++ +Mark Mulder, OAK +52 +72.2 +25 +2.1 + ++39 +Rodrigo Lopez, BAL +51 +86.2 +27 +1.9 + ++40 +Kyle Lohse, MIN +50 +81.2 +30 +1.7 + + + June 25, 2002, at 11:49 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 90d0a70..42bdcfc 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -146,7 +146,7 @@ dtds = "MLB_Pitching_Saves_Leaders.dtd", "MLB_Pitching_Shut_Outs_Leaders.dtd", "MLB_Pitching_Starts_Leaders.dtd", - "MLB_Pitching_Strike_Outs_Leaders.dtd", -- no dtd + "MLB_Pitching_Strike_Outs_Leaders.dtd", "MLB_Pitching_Walks_Leaders.dtd", -- no dtd "MLB_Pitching_WHIP_Leaders.dtd", -- no dtd "MLB_Pitching_Wild_Pitches_Leaders.dtd", -- no dtd @@ -389,7 +389,8 @@ sport_info_test_files = "MLB_Pitching_Runs_Allowed_Leaders.xml", "MLB_Pitching_Saves_Leaders.xml", "MLB_Pitching_Shut_Outs_Leaders.xml", - "MLB_Pitching_Starts_Leaders.xml" + "MLB_Pitching_Starts_Leaders.xml", + "MLB_Pitching_Strike_Outs_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.dtd new file mode 100644 index 0000000..81a0a99 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.xml new file mode 100644 index 0000000..3a109fa --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Strike_Outs_Leaders.xml @@ -0,0 +1,332 @@ + + + +70209717 +AAX%AL-STRIKEOUTS-LEADERS +Statistics +MLB +2002 AL StrikeOuts Leaders + ++1 +Roger Clemens, NYY +113 +103.0 +38 +3.0 + ++2 +Pedro Martinez, BOS +110 +95.2 +21 +5.2 + ++3 +Freddy Garcia, SEA +96 +113.1 +25 +3.8 + ++4 +Barry Zito, OAK +92 +102.2 +34 +2.7 + ++5 +Roy Halladay, TOR +91 +113.0 +26 +3.5 + ++6 +Mike Mussina, NYY +87 +103.2 +23 +3.8 + ++7 +Chuck Finley, CLE +80 +89.0 +38 +2.1 + ++8 +Ramon Ortiz, ANA +79 +102.1 +27 +2.9 + ++9 +Tim Hudson, OAK +78 +108.2 +34 +2.3 + ++10 +Bartolo Colon, CLE +75 +116.1 +31 +2.4 + ++11 +Jarrod Washburn, ANA +72 +92.2 +28 +2.6 + ++12 +Jeff Weaver, DET +71 +114.0 +32 +2.2 + ++13 +Danys Baez, CLE +68 +81.0 +43 +1.6 + ++14 +Ryan Rupe, TB +67 +87.2 +22 +3.0 + ++ +David Wells, NYY +67 +99.2 +29 +2.3 + ++16 +C.C. Sabathia, CLE +65 +90.0 +41 +1.6 + ++ +Mark Buehrle, SOX +65 +110.0 +33 +2.0 + ++ +Derek Lowe, BOS +65 +104.1 +24 +2.7 + ++19 +Joel Pineiro, SEA +64 +83.0 +30 +2.1 + ++ +Joe Kennedy, TB +64 +101.1 +25 +2.6 + ++21 +Sidney Ponson, BAL +63 +95.0 +36 +1.8 + ++ +Ryan Drese, CLE +63 +80.1 +35 +1.8 + ++23 +Dave Burba, TEX +60 +90.0 +29 +2.1 + ++ +Tanyon Sturtze, TB +60 +97.1 +43 +1.4 + ++25 +Jamie Moyer, SEA +59 +106.1 +22 +2.7 + ++26 +Eric Milton, MIN +57 +94.0 +16 +3.6 + ++ +Kevin Appier, ANA +57 +82.1 +25 +2.3 + ++ +Ted Lilly, NYY +57 +72.2 +21 +2.7 + ++ +Paul Byrd, KC +57 +97.1 +16 +3.6 + ++30 +Paul Wilson, TB +55 +95.1 +31 +1.8 + ++31 +Jeff Suppan, KC +54 +100.1 +24 +2.3 + ++ +Rick Reed, MIN +54 +82.1 +13 +4.2 + ++33 +John Burkett, BOS +53 +71.1 +18 +2.9 + ++ +Danny Wright, SOX +53 +92.0 +33 +1.6 + ++ +Todd Ritchie, SOX +53 +93.1 +33 +1.6 + ++ +Mark Redman, DET +53 +105.2 +30 +1.8 + ++37 +Frank Castillo, BOS +52 +83.0 +27 +1.9 + ++ +Mark Mulder, OAK +52 +72.2 +25 +2.1 + ++39 +Rodrigo Lopez, BAL +51 +86.2 +27 +1.9 + ++40 +Kyle Lohse, MIN +50 +81.2 +30 +1.7 + + + June 25, 2002, at 11:49 AM ET +