From: Michael Orlitzky Date: Sun, 22 Jun 2014 17:16:25 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Walks_Leaders.dtd. X-Git-Tag: 0.0.6~130 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d63540c64bf8f20677ae878f11bf5a85a393d9df;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Walks_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 693cf8f..b826272 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -258,6 +258,8 @@ MLB_Pitching_Shut_Outs_Leaders.dtd MLB_Pitching_Starts_Leaders.dtd .IP \[bu] MLB_Pitching_Strike_Outs_Leaders.dtd +.IP \[bu] +MLB_Pitching_Walks_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Walks_Leaders.dtd b/schema/MLB_Pitching_Walks_Leaders.dtd new file mode 100644 index 0000000..f88a680 --- /dev/null +++ b/schema/MLB_Pitching_Walks_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Walks_Leaders/MLB_Pitching_Walks_Leaders.xml b/schemagen/MLB_Pitching_Walks_Leaders/MLB_Pitching_Walks_Leaders.xml new file mode 100644 index 0000000..0abbfbb --- /dev/null +++ b/schemagen/MLB_Pitching_Walks_Leaders/MLB_Pitching_Walks_Leaders.xml @@ -0,0 +1,332 @@ + + + +1829027 +AAX%AL-WALK-LEADERS +Statistics +MLB +2002 AL Walks Leaders + ++1 +Tanyon Sturtze, TB +43 +97.1 +60 +1.4 + ++ +Danys Baez, CLE +43 +81.0 +68 +1.6 + ++3 +Scott Erickson, BAL +42 +96.1 +40 +1.0 + ++4 +C.C. Sabathia, CLE +41 +90.0 +65 +1.6 + ++5 +Justin Miller, TOR +40 +53.1 +35 +0.9 + ++6 +Jon Garland, SOX +39 +91.2 +46 +1.2 + ++7 +Roger Clemens, NYY +38 +103.0 +113 +3.0 + ++ +Chuck Finley, CLE +38 +89.0 +80 +2.1 + ++9 +Sidney Ponson, BAL +36 +95.0 +63 +1.8 + ++10 +Ryan Drese, CLE +35 +80.1 +63 +1.8 + ++ +Scott Schoeneweis, ANA +35 +85.2 +42 +1.2 + ++12 +Barry Zito, OAK +34 +102.2 +92 +2.7 + ++ +Tim Hudson, OAK +34 +108.2 +78 +2.3 + ++14 +Danny Wright, SOX +33 +92.0 +53 +1.6 + ++ +Todd Ritchie, SOX +33 +93.1 +53 +1.6 + ++ +Mark Buehrle, SOX +33 +110.0 +65 +2.0 + ++17 +Kenny Rogers, TEX +32 +102.2 +49 +1.5 + ++ +Jeff Weaver, DET +32 +114.0 +71 +2.2 + ++19 +Matt Kinney, MIN +31 +60.0 +42 +1.4 + ++ +Paul Wilson, TB +31 +95.1 +55 +1.8 + ++ +Bartolo Colon, CLE +31 +116.1 +75 +2.4 + ++22 +Joel Pineiro, SEA +30 +83.0 +64 +2.1 + ++ +Kyle Lohse, MIN +30 +81.2 +50 +1.7 + ++ +Mark Redman, DET +30 +105.2 +53 +1.8 + ++25 +Dave Burba, TEX +29 +90.0 +60 +2.1 + ++ +Aaron Sele, ANA +29 +89.1 +42 +1.4 + ++ +David Wells, NYY +29 +99.2 +67 +2.3 + ++ +Victor Zambrano, TB +29 +41.0 +28 +1.0 + ++29 +Jarrod Washburn, ANA +28 +92.2 +72 +2.6 + ++30 +Ramon Ortiz, ANA +27 +102.1 +79 +2.9 + ++ +Frank Castillo, BOS +27 +83.0 +52 +1.9 + ++ +Steve Sparks, DET +27 +86.1 +36 +1.3 + ++ +Cory Bailey, KC +27 +42.1 +22 +0.8 + ++ +Rodrigo Lopez, BAL +27 +86.2 +51 +1.9 + ++ +Darren Oliver, BOS +27 +58.0 +32 +1.2 + ++ +James Baldwin, SEA +27 +84.0 +50 +1.9 + ++37 +Roy Halladay, TOR +26 +113.0 +91 +3.5 + ++ +Gary Glover, SOX +26 +52.0 +25 +1.0 + ++ +Scott Eyre, TOR +26 +51.1 +41 +1.6 + ++ +Corey Thurman, TOR +26 +34.2 +26 +1.0 + + + June 25, 2002, at 11:54 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 42bdcfc..a84f66b 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -147,7 +147,7 @@ dtds = "MLB_Pitching_Shut_Outs_Leaders.dtd", "MLB_Pitching_Starts_Leaders.dtd", "MLB_Pitching_Strike_Outs_Leaders.dtd", - "MLB_Pitching_Walks_Leaders.dtd", -- no dtd + "MLB_Pitching_Walks_Leaders.dtd", "MLB_Pitching_WHIP_Leaders.dtd", -- no dtd "MLB_Pitching_Wild_Pitches_Leaders.dtd", -- no dtd "MLB_Pitching_Win_Percentage_Leaders.dtd", -- no dtd @@ -390,7 +390,8 @@ sport_info_test_files = "MLB_Pitching_Saves_Leaders.xml", "MLB_Pitching_Shut_Outs_Leaders.xml", "MLB_Pitching_Starts_Leaders.xml", - "MLB_Pitching_Strike_Outs_Leaders.xml" + "MLB_Pitching_Strike_Outs_Leaders.xml", + "MLB_Pitching_Walks_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.dtd new file mode 100644 index 0000000..f88a680 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.xml new file mode 100644 index 0000000..0abbfbb --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Walks_Leaders.xml @@ -0,0 +1,332 @@ + + + +1829027 +AAX%AL-WALK-LEADERS +Statistics +MLB +2002 AL Walks Leaders + ++1 +Tanyon Sturtze, TB +43 +97.1 +60 +1.4 + ++ +Danys Baez, CLE +43 +81.0 +68 +1.6 + ++3 +Scott Erickson, BAL +42 +96.1 +40 +1.0 + ++4 +C.C. Sabathia, CLE +41 +90.0 +65 +1.6 + ++5 +Justin Miller, TOR +40 +53.1 +35 +0.9 + ++6 +Jon Garland, SOX +39 +91.2 +46 +1.2 + ++7 +Roger Clemens, NYY +38 +103.0 +113 +3.0 + ++ +Chuck Finley, CLE +38 +89.0 +80 +2.1 + ++9 +Sidney Ponson, BAL +36 +95.0 +63 +1.8 + ++10 +Ryan Drese, CLE +35 +80.1 +63 +1.8 + ++ +Scott Schoeneweis, ANA +35 +85.2 +42 +1.2 + ++12 +Barry Zito, OAK +34 +102.2 +92 +2.7 + ++ +Tim Hudson, OAK +34 +108.2 +78 +2.3 + ++14 +Danny Wright, SOX +33 +92.0 +53 +1.6 + ++ +Todd Ritchie, SOX +33 +93.1 +53 +1.6 + ++ +Mark Buehrle, SOX +33 +110.0 +65 +2.0 + ++17 +Kenny Rogers, TEX +32 +102.2 +49 +1.5 + ++ +Jeff Weaver, DET +32 +114.0 +71 +2.2 + ++19 +Matt Kinney, MIN +31 +60.0 +42 +1.4 + ++ +Paul Wilson, TB +31 +95.1 +55 +1.8 + ++ +Bartolo Colon, CLE +31 +116.1 +75 +2.4 + ++22 +Joel Pineiro, SEA +30 +83.0 +64 +2.1 + ++ +Kyle Lohse, MIN +30 +81.2 +50 +1.7 + ++ +Mark Redman, DET +30 +105.2 +53 +1.8 + ++25 +Dave Burba, TEX +29 +90.0 +60 +2.1 + ++ +Aaron Sele, ANA +29 +89.1 +42 +1.4 + ++ +David Wells, NYY +29 +99.2 +67 +2.3 + ++ +Victor Zambrano, TB +29 +41.0 +28 +1.0 + ++29 +Jarrod Washburn, ANA +28 +92.2 +72 +2.6 + ++30 +Ramon Ortiz, ANA +27 +102.1 +79 +2.9 + ++ +Frank Castillo, BOS +27 +83.0 +52 +1.9 + ++ +Steve Sparks, DET +27 +86.1 +36 +1.3 + ++ +Cory Bailey, KC +27 +42.1 +22 +0.8 + ++ +Rodrigo Lopez, BAL +27 +86.2 +51 +1.9 + ++ +Darren Oliver, BOS +27 +58.0 +32 +1.2 + ++ +James Baldwin, SEA +27 +84.0 +50 +1.9 + ++37 +Roy Halladay, TOR +26 +113.0 +91 +3.5 + ++ +Gary Glover, SOX +26 +52.0 +25 +1.0 + ++ +Scott Eyre, TOR +26 +51.1 +41 +1.6 + ++ +Corey Thurman, TOR +26 +34.2 +26 +1.0 + + + June 25, 2002, at 11:54 AM ET +