From: Michael Orlitzky Date: Sun, 22 Jun 2014 17:04:56 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Starts_Leaders.dtd. X-Git-Tag: 0.0.6~132 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=60e866175ab8a1b957911de0d4726bb6bcfde4f8;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Starts_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 259762a..77be2d8 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -254,6 +254,8 @@ MLB_Pitching_Runs_Allowed_Leaders.dtd MLB_Pitching_Saves_Leaders.dtd .IP \[bu] MLB_Pitching_Shut_Outs_Leaders.dtd +.IP \[bu] +MLB_Pitching_Starts_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Starts_Leaders.dtd b/schema/MLB_Pitching_Starts_Leaders.dtd new file mode 100644 index 0000000..f8edbbc --- /dev/null +++ b/schema/MLB_Pitching_Starts_Leaders.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Starts_Leaders/MLB_Pitching_Starts_Leaders.xml b/schemagen/MLB_Pitching_Starts_Leaders/MLB_Pitching_Starts_Leaders.xml new file mode 100644 index 0000000..b5a4269 --- /dev/null +++ b/schemagen/MLB_Pitching_Starts_Leaders/MLB_Pitching_Starts_Leaders.xml @@ -0,0 +1,452 @@ + + + +98018117 +AAX%AL-GAMESSTARTED-LEADERS +Statistics +MLB +2002 AL Games Started Leaders + ++1 +Freddy Garcia, SEA +17 +113.1 +1 +0 +10 +5 +3.73 + ++2 +Mike Mussina, NYY +16 +103.2 +0 +0 +10 +3 +4.51 + ++ +Roy Halladay, TOR +16 +113.0 +2 +1 +9 +3 +3.19 + ++ +Barry Zito, OAK +16 +102.2 +0 +0 +10 +2 +3.07 + ++ +Danny Wright, SOX +16 +92.0 +1 +1 +5 +8 +5.48 + ++ +Eric Milton, MIN +16 +94.0 +0 +0 +8 +5 +5.27 + ++ +Jamie Moyer, SEA +16 +106.1 +2 +1 +7 +3 +3.47 + ++ +Todd Ritchie, SOX +16 +93.1 +0 +0 +4 +9 +5.11 + ++ +Tim Hudson, OAK +16 +108.2 +1 +0 +5 +6 +3.73 + ++ +Kenny Rogers, TEX +16 +102.2 +2 +1 +8 +4 +3.24 + ++ +Jeff Weaver, DET +16 +114.0 +3 +3 +5 +8 +3.32 + ++ +Mark Buehrle, SOX +16 +110.0 +1 +0 +10 +5 +2.86 + ++ +Jeff Suppan, KC +16 +100.1 +1 +1 +5 +6 +4.66 + ++ +Scott Erickson, BAL +16 +96.1 +1 +1 +3 +6 +4.76 + ++ +Roger Clemens, NYY +16 +103.0 +0 +0 +8 +3 +3.76 + ++ +Jon Garland, SOX +16 +91.2 +0 +0 +6 +5 +4.42 + ++ +Bartolo Colon, CLE +16 +116.1 +4 +2 +10 +4 +2.55 + ++18 +Sidney Ponson, BAL +15 +95.0 +1 +0 +3 +4 +4.07 + ++ +Dave Burba, TEX +15 +90.0 +1 +0 +4 +4 +5.10 + ++ +Aaron Sele, ANA +15 +89.1 +0 +0 +6 +5 +5.54 + ++ +David Wells, NYY +15 +99.2 +1 +1 +7 +5 +3.61 + ++ +Kevin Appier, ANA +15 +82.1 +0 +0 +6 +6 +4.26 + ++ +C.C. Sabathia, CLE +15 +90.0 +0 +0 +5 +6 +5.00 + ++ +Tanyon Sturtze, TB +15 +97.1 +0 +0 +0 +8 +5.09 + ++ +Pedro Martinez, BOS +15 +95.2 +1 +0 +8 +2 +2.92 + ++ +Kyle Lohse, MIN +15 +81.2 +0 +0 +6 +5 +5.40 + ++ +Jarrod Washburn, ANA +15 +92.2 +0 +0 +7 +2 +3.59 + ++ +Chuck Finley, CLE +15 +89.0 +1 +0 +4 +9 +3.84 + ++ +Paul Byrd, KC +15 +97.1 +1 +1 +9 +5 +4.25 + ++ +Rick Reed, MIN +15 +82.1 +1 +0 +6 +3 +4.48 + ++ +Derek Lowe, BOS +15 +104.1 +1 +1 +11 +3 +2.16 + ++ +Mark Redman, DET +15 +105.2 +2 +0 +3 +7 +3.66 + ++ +Joe Kennedy, TB +15 +101.1 +3 +1 +5 +6 +4.26 + ++34 +Ramon Ortiz, ANA +14 +102.1 +3 +0 +8 +5 +3.34 + ++ +Frank Castillo, BOS +14 +83.0 +0 +0 +5 +7 +4.55 + ++ +Ryan Rupe, TB +14 +87.2 +2 +0 +5 +9 +5.54 + ++ +Ryan Drese, CLE +14 +80.1 +1 +0 +7 +5 +5.49 + ++ +Paul Wilson, TB +14 +95.1 +1 +0 +2 +6 +4.06 + ++ +Steve Sparks, DET +14 +86.1 +2 +0 +3 +7 +5.94 + ++ +James Baldwin, SEA +14 +84.0 +0 +0 +5 +6 +4.93 + + + June 25, 2002, at 11:23 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index e93922b..90d0a70 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -145,7 +145,7 @@ dtds = "MLB_Pitching_Runs_Allowed_Leaders.dtd", "MLB_Pitching_Saves_Leaders.dtd", "MLB_Pitching_Shut_Outs_Leaders.dtd", - "MLB_Pitching_Starts_Leaders.dtd", -- no dtd + "MLB_Pitching_Starts_Leaders.dtd", "MLB_Pitching_Strike_Outs_Leaders.dtd", -- no dtd "MLB_Pitching_Walks_Leaders.dtd", -- no dtd "MLB_Pitching_WHIP_Leaders.dtd", -- no dtd @@ -388,7 +388,8 @@ sport_info_test_files = "MLB_Pitching_IP_Leaders.xml", "MLB_Pitching_Runs_Allowed_Leaders.xml", "MLB_Pitching_Saves_Leaders.xml", - "MLB_Pitching_Shut_Outs_Leaders.xml" + "MLB_Pitching_Shut_Outs_Leaders.xml", + "MLB_Pitching_Starts_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.dtd new file mode 100644 index 0000000..f8edbbc --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.xml new file mode 100644 index 0000000..b5a4269 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Starts_Leaders.xml @@ -0,0 +1,452 @@ + + + +98018117 +AAX%AL-GAMESSTARTED-LEADERS +Statistics +MLB +2002 AL Games Started Leaders + ++1 +Freddy Garcia, SEA +17 +113.1 +1 +0 +10 +5 +3.73 + ++2 +Mike Mussina, NYY +16 +103.2 +0 +0 +10 +3 +4.51 + ++ +Roy Halladay, TOR +16 +113.0 +2 +1 +9 +3 +3.19 + ++ +Barry Zito, OAK +16 +102.2 +0 +0 +10 +2 +3.07 + ++ +Danny Wright, SOX +16 +92.0 +1 +1 +5 +8 +5.48 + ++ +Eric Milton, MIN +16 +94.0 +0 +0 +8 +5 +5.27 + ++ +Jamie Moyer, SEA +16 +106.1 +2 +1 +7 +3 +3.47 + ++ +Todd Ritchie, SOX +16 +93.1 +0 +0 +4 +9 +5.11 + ++ +Tim Hudson, OAK +16 +108.2 +1 +0 +5 +6 +3.73 + ++ +Kenny Rogers, TEX +16 +102.2 +2 +1 +8 +4 +3.24 + ++ +Jeff Weaver, DET +16 +114.0 +3 +3 +5 +8 +3.32 + ++ +Mark Buehrle, SOX +16 +110.0 +1 +0 +10 +5 +2.86 + ++ +Jeff Suppan, KC +16 +100.1 +1 +1 +5 +6 +4.66 + ++ +Scott Erickson, BAL +16 +96.1 +1 +1 +3 +6 +4.76 + ++ +Roger Clemens, NYY +16 +103.0 +0 +0 +8 +3 +3.76 + ++ +Jon Garland, SOX +16 +91.2 +0 +0 +6 +5 +4.42 + ++ +Bartolo Colon, CLE +16 +116.1 +4 +2 +10 +4 +2.55 + ++18 +Sidney Ponson, BAL +15 +95.0 +1 +0 +3 +4 +4.07 + ++ +Dave Burba, TEX +15 +90.0 +1 +0 +4 +4 +5.10 + ++ +Aaron Sele, ANA +15 +89.1 +0 +0 +6 +5 +5.54 + ++ +David Wells, NYY +15 +99.2 +1 +1 +7 +5 +3.61 + ++ +Kevin Appier, ANA +15 +82.1 +0 +0 +6 +6 +4.26 + ++ +C.C. Sabathia, CLE +15 +90.0 +0 +0 +5 +6 +5.00 + ++ +Tanyon Sturtze, TB +15 +97.1 +0 +0 +0 +8 +5.09 + ++ +Pedro Martinez, BOS +15 +95.2 +1 +0 +8 +2 +2.92 + ++ +Kyle Lohse, MIN +15 +81.2 +0 +0 +6 +5 +5.40 + ++ +Jarrod Washburn, ANA +15 +92.2 +0 +0 +7 +2 +3.59 + ++ +Chuck Finley, CLE +15 +89.0 +1 +0 +4 +9 +3.84 + ++ +Paul Byrd, KC +15 +97.1 +1 +1 +9 +5 +4.25 + ++ +Rick Reed, MIN +15 +82.1 +1 +0 +6 +3 +4.48 + ++ +Derek Lowe, BOS +15 +104.1 +1 +1 +11 +3 +2.16 + ++ +Mark Redman, DET +15 +105.2 +2 +0 +3 +7 +3.66 + ++ +Joe Kennedy, TB +15 +101.1 +3 +1 +5 +6 +4.26 + ++34 +Ramon Ortiz, ANA +14 +102.1 +3 +0 +8 +5 +3.34 + ++ +Frank Castillo, BOS +14 +83.0 +0 +0 +5 +7 +4.55 + ++ +Ryan Rupe, TB +14 +87.2 +2 +0 +5 +9 +5.54 + ++ +Ryan Drese, CLE +14 +80.1 +1 +0 +7 +5 +5.49 + ++ +Paul Wilson, TB +14 +95.1 +1 +0 +2 +6 +4.06 + ++ +Steve Sparks, DET +14 +86.1 +2 +0 +3 +7 +5.94 + ++ +James Baldwin, SEA +14 +84.0 +0 +0 +5 +6 +4.93 + + + June 25, 2002, at 11:23 AM ET +