From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:23:54 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Hit_Batters_Leaders.dtd. X-Git-Tag: 0.0.6~138 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6e2852b1b9fc1947a95d37c5d5e71a75a464d156;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Hit_Batters_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 698789d..232409e 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -242,6 +242,8 @@ MLB_Pitching_CG_Leaders.dtd MLB_Pitching_ER_Allowed_Leaders.dtd .IP \[bu] MLB_Pitching_Hits_Allowed_Leaders.dtd +.IP \[bu] +MLB_Pitching_Hit_Batters_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Hit_Batters_Leaders.dtd b/schema/MLB_Pitching_Hit_Batters_Leaders.dtd new file mode 100644 index 0000000..417c0dd --- /dev/null +++ b/schema/MLB_Pitching_Hit_Batters_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Hit_Batters_Leaders/MLB_Pitching_Hit_Batters_Leaders.xml b/schemagen/MLB_Pitching_Hit_Batters_Leaders/MLB_Pitching_Hit_Batters_Leaders.xml new file mode 100644 index 0000000..1566b65 --- /dev/null +++ b/schemagen/MLB_Pitching_Hit_Batters_Leaders/MLB_Pitching_Hit_Batters_Leaders.xml @@ -0,0 +1,212 @@ + + + +3020117 +AAX%AL-HITBATTER-LEADERS +Statistics +MLB +2002 AL Hit Batters Leaders + ++1 +Ryan Rupe, TB +10 + ++2 +Jeff Weaver, DET +7 + ++ +Pedro Martinez, BOS +7 + ++ +Luke Prokopec, TOR +7 + ++5 +Darren Oliver, BOS +6 + ++ +Kyle Lohse, MIN +6 + ++ +Ismael Valdes, TEX +6 + ++ +Joe Kennedy, TB +6 + ++9 +Roy Halladay, TOR +5 + ++ +Barry Zito, OAK +5 + ++ +Todd Ritchie, SOX +5 + ++ +Chan Ho Park, TEX +5 + ++ +Scott Erickson, BAL +5 + ++ +Ted Lilly, NYY +5 + ++ +Rolando Arrojo, BOS +5 + ++ +James Baldwin, SEA +5 + ++17 +Justin Miller, TOR +4 + ++ +Dave Burba, TEX +4 + ++ +Dan Reichert, KC +4 + ++ +Paul Wilson, TB +4 + ++ +Steve Sparks, DET +4 + ++ +Kevin Appier, ANA +4 + ++ +Tim Hudson, OAK +4 + ++ +Chad Bradford, OAK +4 + ++ +Gary Glover, SOX +4 + ++ +Mike Jackson, MIN +4 + ++ +Derek Lowe, BOS +4 + ++ +Scott Schoeneweis, ANA +4 + ++29 +Mike Smith, TOR +3 + ++ +John Burkett, BOS +3 + ++ +Travis Harper, TB +3 + ++ +Tim Wakefield, BOS +3 + ++ +Ramon Ortiz, ANA +3 + ++ +Jeremy Affeldt, KC +3 + ++ +Mike Mussina, NYY +3 + ++ +Cory Lidle, OAK +3 + ++ +Doug Davis, TEX +3 + ++ +Aaron Sele, ANA +3 + ++ +Danny Wright, SOX +3 + ++ +Jose Paniagua, DET +3 + + + June 25, 2002, at 02:30 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index d80b695..9cbb0f4 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -139,7 +139,7 @@ dtds = "MLB_Pitching_CG_Leaders.dtd", "MLB_Pitching_ER_Allowed_Leaders.dtd", "MLB_Pitching_Hits_Allowed_Leaders.dtd", - "MLB_Pitching_Hit_Batters_Leaders.dtd", -- no dtd + "MLB_Pitching_Hit_Batters_Leaders.dtd", "MLB_Pitching_HR_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_IP_Leaders.dtd", -- no dtd "MLB_Pitching_Runs_Allowed_Leaders.dtd", -- no dtd @@ -382,7 +382,8 @@ sport_info_test_files = "MLB_Pitching_Balks_Leaders.xml", "MLB_Pitching_CG_Leaders.xml", "MLB_Pitching_ER_Allowed_Leaders.xml", - "MLB_Pitching_Hits_Allowed_Leaders.xml" + "MLB_Pitching_Hits_Allowed_Leaders.xml", + "MLB_Pitching_Hit_Batters_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.dtd new file mode 100644 index 0000000..417c0dd --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.xml new file mode 100644 index 0000000..1566b65 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Hit_Batters_Leaders.xml @@ -0,0 +1,212 @@ + + + +3020117 +AAX%AL-HITBATTER-LEADERS +Statistics +MLB +2002 AL Hit Batters Leaders + ++1 +Ryan Rupe, TB +10 + ++2 +Jeff Weaver, DET +7 + ++ +Pedro Martinez, BOS +7 + ++ +Luke Prokopec, TOR +7 + ++5 +Darren Oliver, BOS +6 + ++ +Kyle Lohse, MIN +6 + ++ +Ismael Valdes, TEX +6 + ++ +Joe Kennedy, TB +6 + ++9 +Roy Halladay, TOR +5 + ++ +Barry Zito, OAK +5 + ++ +Todd Ritchie, SOX +5 + ++ +Chan Ho Park, TEX +5 + ++ +Scott Erickson, BAL +5 + ++ +Ted Lilly, NYY +5 + ++ +Rolando Arrojo, BOS +5 + ++ +James Baldwin, SEA +5 + ++17 +Justin Miller, TOR +4 + ++ +Dave Burba, TEX +4 + ++ +Dan Reichert, KC +4 + ++ +Paul Wilson, TB +4 + ++ +Steve Sparks, DET +4 + ++ +Kevin Appier, ANA +4 + ++ +Tim Hudson, OAK +4 + ++ +Chad Bradford, OAK +4 + ++ +Gary Glover, SOX +4 + ++ +Mike Jackson, MIN +4 + ++ +Derek Lowe, BOS +4 + ++ +Scott Schoeneweis, ANA +4 + ++29 +Mike Smith, TOR +3 + ++ +John Burkett, BOS +3 + ++ +Travis Harper, TB +3 + ++ +Tim Wakefield, BOS +3 + ++ +Ramon Ortiz, ANA +3 + ++ +Jeremy Affeldt, KC +3 + ++ +Mike Mussina, NYY +3 + ++ +Cory Lidle, OAK +3 + ++ +Doug Davis, TEX +3 + ++ +Aaron Sele, ANA +3 + ++ +Danny Wright, SOX +3 + ++ +Jose Paniagua, DET +3 + + + June 25, 2002, at 02:30 PM ET +