From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:27:52 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_HR_Allowed_Leaders.dtd. X-Git-Tag: 0.0.6~137 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=9bb0675d4f08c520458f8450625d3d7e73aecdf4;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_HR_Allowed_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 232409e..621b7c4 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -244,6 +244,8 @@ MLB_Pitching_ER_Allowed_Leaders.dtd MLB_Pitching_Hits_Allowed_Leaders.dtd .IP \[bu] MLB_Pitching_Hit_Batters_Leaders.dtd +.IP \[bu] +MLB_Pitching_HR_Allowed_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_HR_Allowed_Leaders.dtd b/schema/MLB_Pitching_HR_Allowed_Leaders.dtd new file mode 100644 index 0000000..fa49755 --- /dev/null +++ b/schema/MLB_Pitching_HR_Allowed_Leaders.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_HR_Allowed_Leaders/MLB_Pitching_HR_Allowed_Leaders.xml b/schemagen/MLB_Pitching_HR_Allowed_Leaders/MLB_Pitching_HR_Allowed_Leaders.xml new file mode 100644 index 0000000..79f1f69 --- /dev/null +++ b/schemagen/MLB_Pitching_HR_Allowed_Leaders/MLB_Pitching_HR_Allowed_Leaders.xml @@ -0,0 +1,372 @@ + + + +89163417 +AAX%AL-HRALLOWED-LEADERS +Statistics +MLB +2002 AL Home Runs Allowed Leaders + ++1 +Ramon Ortiz, ANA +23 +102.1 +8 +5 +3.34 + ++2 +Jeff Suppan, KC +18 +100.1 +5 +6 +4.66 + ++ +Paul Byrd, KC +18 +97.1 +9 +5 +4.25 + ++4 +Freddy Garcia, SEA +17 +113.1 +10 +5 +3.73 + ++ +Rick Reed, MIN +17 +82.1 +6 +3 +4.48 + ++6 +Mike Mussina, NYY +15 +103.2 +10 +3 +4.51 + ++ +Danny Wright, SOX +15 +92.0 +5 +8 +5.48 + ++8 +Barry Zito, OAK +14 +102.2 +10 +2 +3.07 + ++ +Eric Milton, MIN +14 +94.0 +8 +5 +5.27 + ++ +Jamie Moyer, SEA +14 +106.1 +7 +3 +3.47 + ++ +James Baldwin, SEA +14 +84.0 +5 +6 +4.93 + ++ +Brandon Lyon, TOR +14 +62.0 +1 +4 +6.53 + ++13 +Luke Prokopec, TOR +13 +63.0 +2 +7 +5.86 + ++14 +Sidney Ponson, BAL +12 +95.0 +3 +4 +4.07 + ++ +Aaron Sele, ANA +12 +89.1 +6 +5 +5.54 + ++ +Paul Wilson, TB +12 +95.1 +2 +6 +4.06 + ++ +Calvin Maduro, BAL +12 +56.2 +2 +5 +5.56 + ++ +Joe Kennedy, TB +12 +101.1 +5 +6 +4.26 + ++19 +John Burkett, BOS +11 +71.1 +7 +3 +4.04 + ++ +Ryan Rupe, TB +11 +87.2 +5 +9 +5.54 + ++ +Todd Ritchie, SOX +11 +93.1 +4 +9 +5.11 + ++ +Tim Hudson, OAK +11 +108.2 +5 +6 +3.73 + ++ +Hideki Irabu, TEX +11 +41.0 +3 +6 +5.71 + ++ +Jarrod Washburn, ANA +11 +92.2 +7 +2 +3.59 + ++ +Erik Hiljus, OAK +11 +45.2 +3 +3 +6.50 + ++ +Josh Towers, BAL +11 +27.1 +0 +3 +7.90 + ++ +Bartolo Colon, CLE +11 +116.1 +10 +4 +2.55 + ++28 +Matt Kinney, MIN +10 +60.0 +2 +6 +4.35 + ++ +Dave Burba, TEX +10 +90.0 +4 +4 +5.10 + ++ +Kevin Appier, ANA +10 +82.1 +6 +6 +4.26 + ++ +Mark Buehrle, SOX +10 +110.0 +10 +5 +2.86 + ++ +Kyle Lohse, MIN +10 +81.2 +6 +5 +5.40 + ++ +Jon Garland, SOX +10 +91.2 +6 +5 +4.42 + ++34 +Miguel Asencio, KC +9 +41.0 +1 +1 +5.27 + ++ +Kenny Rogers, TEX +9 +102.2 +8 +4 +3.24 + ++ +Tanyon Sturtze, TB +9 +97.1 +0 +8 +5.09 + ++ +Scott Erickson, BAL +9 +96.1 +3 +6 +4.76 + ++ +Scott Schoeneweis, ANA +9 +85.2 +6 +5 +4.83 + ++39 +Travis Driskill, BAL +8 +48.2 +5 +0 +3.51 + ++ +Darrell May, KC +8 +43.1 +2 +4 +4.78 + + + June 25, 2002, at 11:59 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 9cbb0f4..f89dfeb 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -140,7 +140,7 @@ dtds = "MLB_Pitching_ER_Allowed_Leaders.dtd", "MLB_Pitching_Hits_Allowed_Leaders.dtd", "MLB_Pitching_Hit_Batters_Leaders.dtd", - "MLB_Pitching_HR_Allowed_Leaders.dtd", -- no dtd + "MLB_Pitching_HR_Allowed_Leaders.dtd", "MLB_Pitching_IP_Leaders.dtd", -- no dtd "MLB_Pitching_Runs_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Saves_Leaders.dtd", -- no dtd @@ -383,7 +383,8 @@ sport_info_test_files = "MLB_Pitching_CG_Leaders.xml", "MLB_Pitching_ER_Allowed_Leaders.xml", "MLB_Pitching_Hits_Allowed_Leaders.xml", - "MLB_Pitching_Hit_Batters_Leaders.xml" + "MLB_Pitching_Hit_Batters_Leaders.xml", + "MLB_Pitching_HR_Allowed_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.dtd new file mode 100644 index 0000000..fa49755 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.xml new file mode 100644 index 0000000..79f1f69 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_HR_Allowed_Leaders.xml @@ -0,0 +1,372 @@ + + + +89163417 +AAX%AL-HRALLOWED-LEADERS +Statistics +MLB +2002 AL Home Runs Allowed Leaders + ++1 +Ramon Ortiz, ANA +23 +102.1 +8 +5 +3.34 + ++2 +Jeff Suppan, KC +18 +100.1 +5 +6 +4.66 + ++ +Paul Byrd, KC +18 +97.1 +9 +5 +4.25 + ++4 +Freddy Garcia, SEA +17 +113.1 +10 +5 +3.73 + ++ +Rick Reed, MIN +17 +82.1 +6 +3 +4.48 + ++6 +Mike Mussina, NYY +15 +103.2 +10 +3 +4.51 + ++ +Danny Wright, SOX +15 +92.0 +5 +8 +5.48 + ++8 +Barry Zito, OAK +14 +102.2 +10 +2 +3.07 + ++ +Eric Milton, MIN +14 +94.0 +8 +5 +5.27 + ++ +Jamie Moyer, SEA +14 +106.1 +7 +3 +3.47 + ++ +James Baldwin, SEA +14 +84.0 +5 +6 +4.93 + ++ +Brandon Lyon, TOR +14 +62.0 +1 +4 +6.53 + ++13 +Luke Prokopec, TOR +13 +63.0 +2 +7 +5.86 + ++14 +Sidney Ponson, BAL +12 +95.0 +3 +4 +4.07 + ++ +Aaron Sele, ANA +12 +89.1 +6 +5 +5.54 + ++ +Paul Wilson, TB +12 +95.1 +2 +6 +4.06 + ++ +Calvin Maduro, BAL +12 +56.2 +2 +5 +5.56 + ++ +Joe Kennedy, TB +12 +101.1 +5 +6 +4.26 + ++19 +John Burkett, BOS +11 +71.1 +7 +3 +4.04 + ++ +Ryan Rupe, TB +11 +87.2 +5 +9 +5.54 + ++ +Todd Ritchie, SOX +11 +93.1 +4 +9 +5.11 + ++ +Tim Hudson, OAK +11 +108.2 +5 +6 +3.73 + ++ +Hideki Irabu, TEX +11 +41.0 +3 +6 +5.71 + ++ +Jarrod Washburn, ANA +11 +92.2 +7 +2 +3.59 + ++ +Erik Hiljus, OAK +11 +45.2 +3 +3 +6.50 + ++ +Josh Towers, BAL +11 +27.1 +0 +3 +7.90 + ++ +Bartolo Colon, CLE +11 +116.1 +10 +4 +2.55 + ++28 +Matt Kinney, MIN +10 +60.0 +2 +6 +4.35 + ++ +Dave Burba, TEX +10 +90.0 +4 +4 +5.10 + ++ +Kevin Appier, ANA +10 +82.1 +6 +6 +4.26 + ++ +Mark Buehrle, SOX +10 +110.0 +10 +5 +2.86 + ++ +Kyle Lohse, MIN +10 +81.2 +6 +5 +5.40 + ++ +Jon Garland, SOX +10 +91.2 +6 +5 +4.42 + ++34 +Miguel Asencio, KC +9 +41.0 +1 +1 +5.27 + ++ +Kenny Rogers, TEX +9 +102.2 +8 +4 +3.24 + ++ +Tanyon Sturtze, TB +9 +97.1 +0 +8 +5.09 + ++ +Scott Erickson, BAL +9 +96.1 +3 +6 +4.76 + ++ +Scott Schoeneweis, ANA +9 +85.2 +6 +5 +4.83 + ++39 +Travis Driskill, BAL +8 +48.2 +5 +0 +3.51 + ++ +Darrell May, KC +8 +43.1 +2 +4 +4.78 + + + June 25, 2002, at 11:59 AM ET +