From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:19:45 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Hits_Allowed_Leaders.dtd. X-Git-Tag: 0.0.6~139 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a02ba86f8a49e36c7a343ae8ab8196ff5cbe2183;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Hits_Allowed_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 89d2f24..698789d 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -240,6 +240,8 @@ MLB_Pitching_Balks_Leaders.dtd MLB_Pitching_CG_Leaders.dtd .IP \[bu] MLB_Pitching_ER_Allowed_Leaders.dtd +.IP \[bu] +MLB_Pitching_Hits_Allowed_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Hits_Allowed_Leaders.dtd b/schema/MLB_Pitching_Hits_Allowed_Leaders.dtd new file mode 100644 index 0000000..9680f77 --- /dev/null +++ b/schema/MLB_Pitching_Hits_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Hits_Allowed_Leaders/MLB_Pitching_Hits_Allowed_Leaders.xml b/schemagen/MLB_Pitching_Hits_Allowed_Leaders/MLB_Pitching_Hits_Allowed_Leaders.xml new file mode 100644 index 0000000..7735d17 --- /dev/null +++ b/schemagen/MLB_Pitching_Hits_Allowed_Leaders/MLB_Pitching_Hits_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +19177617 +AAX%AL-HIT-LEADERS +Statistics +MLB +2002 AL Hits Allowed Leaders + ++1 +Tanyon Sturtze, TB +124 + ++2 +Aaron Sele, ANA +119 + ++3 +Steve Sparks, DET +118 + ++4 +Todd Ritchie, SOX +112 + ++5 +Roy Halladay, TOR +108 + ++ +Tim Hudson, OAK +108 + ++ +Mark Redman, DET +108 + ++8 +Jeff Weaver, DET +105 + ++ +Scott Erickson, BAL +105 + ++10 +Cory Lidle, OAK +104 + ++ +Bartolo Colon, CLE +104 + ++12 +Joe Kennedy, TB +103 + ++13 +Paul Wilson, TB +101 + ++14 +Eric Milton, MIN +100 + ++ +Jeff Suppan, KC +100 + ++16 +Freddy Garcia, SEA +98 + ++17 +Danny Wright, SOX +97 + ++ +Kevin Appier, ANA +97 + ++19 +Mike Mussina, NYY +96 + ++ +Mark Buehrle, SOX +96 + ++ +Kyle Lohse, MIN +96 + ++22 +Dave Burba, TEX +95 + ++ +David Wells, NYY +95 + ++ +Kenny Rogers, TEX +95 + ++ +Paul Byrd, KC +95 + ++26 +Ryan Drese, CLE +94 + ++27 +Roger Clemens, NYY +93 + ++ +Jon Garland, SOX +93 + ++29 +Chuck Finley, CLE +92 + ++ +James Baldwin, SEA +92 + ++ +Scott Schoeneweis, ANA +92 + ++32 +Sidney Ponson, BAL +91 + ++ +Jamie Moyer, SEA +91 + ++34 +Jarrod Washburn, ANA +90 + ++35 +C.C. Sabathia, CLE +89 + ++36 +Rick Reed, MIN +86 + ++37 +John Burkett, BOS +83 + ++ +Ismael Valdes, TEX +83 + ++39 +Barry Zito, OAK +82 + ++40 +Joel Pineiro, SEA +81 + + + June 25, 2002, at 02:32 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index d2f9712..d80b695 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -138,7 +138,7 @@ dtds = "MLB_Pitching_Balks_Leaders.dtd", "MLB_Pitching_CG_Leaders.dtd", "MLB_Pitching_ER_Allowed_Leaders.dtd", - "MLB_Pitching_Hits_Allowed_Leaders.dtd", -- no dtd + "MLB_Pitching_Hits_Allowed_Leaders.dtd", "MLB_Pitching_Hit_Batters_Leaders.dtd", -- no dtd "MLB_Pitching_HR_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_IP_Leaders.dtd", -- no dtd @@ -381,7 +381,8 @@ sport_info_test_files = "MLB_Pitching_Appearances_Leaders.xml", "MLB_Pitching_Balks_Leaders.xml", "MLB_Pitching_CG_Leaders.xml", - "MLB_Pitching_ER_Allowed_Leaders.xml" + "MLB_Pitching_ER_Allowed_Leaders.xml", + "MLB_Pitching_Hits_Allowed_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.dtd new file mode 100644 index 0000000..9680f77 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.xml new file mode 100644 index 0000000..7735d17 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Hits_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +19177617 +AAX%AL-HIT-LEADERS +Statistics +MLB +2002 AL Hits Allowed Leaders + ++1 +Tanyon Sturtze, TB +124 + ++2 +Aaron Sele, ANA +119 + ++3 +Steve Sparks, DET +118 + ++4 +Todd Ritchie, SOX +112 + ++5 +Roy Halladay, TOR +108 + ++ +Tim Hudson, OAK +108 + ++ +Mark Redman, DET +108 + ++8 +Jeff Weaver, DET +105 + ++ +Scott Erickson, BAL +105 + ++10 +Cory Lidle, OAK +104 + ++ +Bartolo Colon, CLE +104 + ++12 +Joe Kennedy, TB +103 + ++13 +Paul Wilson, TB +101 + ++14 +Eric Milton, MIN +100 + ++ +Jeff Suppan, KC +100 + ++16 +Freddy Garcia, SEA +98 + ++17 +Danny Wright, SOX +97 + ++ +Kevin Appier, ANA +97 + ++19 +Mike Mussina, NYY +96 + ++ +Mark Buehrle, SOX +96 + ++ +Kyle Lohse, MIN +96 + ++22 +Dave Burba, TEX +95 + ++ +David Wells, NYY +95 + ++ +Kenny Rogers, TEX +95 + ++ +Paul Byrd, KC +95 + ++26 +Ryan Drese, CLE +94 + ++27 +Roger Clemens, NYY +93 + ++ +Jon Garland, SOX +93 + ++29 +Chuck Finley, CLE +92 + ++ +James Baldwin, SEA +92 + ++ +Scott Schoeneweis, ANA +92 + ++32 +Sidney Ponson, BAL +91 + ++ +Jamie Moyer, SEA +91 + ++34 +Jarrod Washburn, ANA +90 + ++35 +C.C. Sabathia, CLE +89 + ++36 +Rick Reed, MIN +86 + ++37 +John Burkett, BOS +83 + ++ +Ismael Valdes, TEX +83 + ++39 +Barry Zito, OAK +82 + ++40 +Joel Pineiro, SEA +81 + + + June 25, 2002, at 02:32 PM ET +