From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:57:32 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Saves_Leaders.dtd. X-Git-Tag: 0.0.6~134 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6cc9f62675fb561c6eec5b72b86b1c2ce51d52f1;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Saves_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 256dfd5..6e310db 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -250,6 +250,8 @@ MLB_Pitching_HR_Allowed_Leaders.dtd MLB_Pitching_IP_Leaders.dtd .IP \[bu] MLB_Pitching_Runs_Allowed_Leaders.dtd +.IP \[bu] +MLB_Pitching_Saves_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Saves_Leaders.dtd b/schema/MLB_Pitching_Saves_Leaders.dtd new file mode 100644 index 0000000..159abcd --- /dev/null +++ b/schema/MLB_Pitching_Saves_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Saves_Leaders/MLB_Pitching_Saves_Leaders.xml b/schemagen/MLB_Pitching_Saves_Leaders/MLB_Pitching_Saves_Leaders.xml new file mode 100644 index 0000000..d9220e8 --- /dev/null +++ b/schemagen/MLB_Pitching_Saves_Leaders/MLB_Pitching_Saves_Leaders.xml @@ -0,0 +1,332 @@ + + + +91289117 +AAX%AL-SAVES-LEADERS +Statistics +MLB +2002 AL Saves Leaders + ++1 +Eddie Guardado, MIN +22 +1 +1 +2.21 + ++2 +Ugueth Urbina, BOS +20 +0 +2 +2.05 + ++3 +Billy Koch, OAK +19 +4 +0 +3.70 + ++4 +Mariano Rivera, NYY +18 +1 +3 +1.69 + ++5 +Kazuhiro Sasaki, SEA +17 +2 +1 +0.35 + ++ +Troy Percival, ANA +17 +2 +1 +2.42 + ++ +Bob Wickman, CLE +17 +0 +2 +4.44 + ++8 +Jorge Julio, BAL +15 +4 +4 +2.80 + ++9 +Hideki Irabu, TEX +14 +3 +6 +5.71 + ++10 +Kelvim Escobar, TOR +13 +3 +4 +5.00 + ++11 +Juan Acevedo, DET +11 +1 +4 +3.32 + ++12 +Roberto Hernandez, KC +10 +1 +0 +3.15 + ++13 +Esteban Yan, TB +9 +3 +3 +5.65 + ++14 +Keith Foulke, SOX +8 +1 +4 +4.81 + ++15 +Al Levine, ANA +4 +3 +2 +3.89 + ++16 +Steve Karsay, NYY +3 +3 +3 +2.47 + ++ +Antonio Osuna, SOX +3 +4 +1 +4.50 + ++ +Francisco Cordero, TEX +3 +0 +0 +3.15 + ++ +Tim Wakefield, BOS +3 +2 +2 +2.53 + ++20 +Rick Bauer, BAL +1 +3 +3 +5.20 + ++ +Blake Stein, KC +1 +0 +2 +9.11 + ++ +Ramiro Mendoza, NYY +1 +5 +2 +3.33 + ++ +Rolando Arrojo, BOS +1 +4 +2 +4.09 + ++ +Casey Fossum, BOS +1 +2 +1 +3.00 + ++ +Willis Roberts, BAL +1 +3 +2 +1.80 + ++ +Cory Bailey, KC +1 +3 +4 +4.04 + ++ +Gary Glover, SOX +1 +2 +3 +4.85 + ++ +Todd Van Poppel, TEX +1 +1 +0 +4.41 + ++ +Chad Bradford, OAK +1 +3 +1 +1.69 + ++ +Shigetoshi Hasegawa, SEA +1 +3 +1 +1.11 + ++ +David Riske, CLE +1 +1 +2 +5.86 + ++ +Mike Stanton, NYY +1 +3 +0 +2.56 + ++ +Buddy Groom, BAL +1 +2 +2 +2.08 + ++ +Steve Kent, TB +1 +0 +2 +4.02 + ++ +John Rocker, TEX +1 +1 +3 +6.35 + ++ +Travis Harper, TB +1 +2 +3 +2.78 + ++ +Pete Walker, TOR +1 +2 +0 +2.10 + ++ +Matt Ginter, SOX +1 +0 +0 +2.45 + ++ +Rafael Soriano, SEA +1 +0 +3 +3.67 + ++ +Anthony Telford, TEX +1 +1 +0 +4.58 + + + June 25, 2002, at 10:50 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 0536fa5..40fe529 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -143,7 +143,7 @@ dtds = "MLB_Pitching_HR_Allowed_Leaders.dtd", "MLB_Pitching_IP_Leaders.dtd", "MLB_Pitching_Runs_Allowed_Leaders.dtd", - "MLB_Pitching_Saves_Leaders.dtd", -- no dtd + "MLB_Pitching_Saves_Leaders.dtd", "MLB_Pitching_Shut_Outs_Leaders.dtd", -- no dtd "MLB_Pitching_Starts_Leaders.dtd", -- no dtd "MLB_Pitching_Strike_Outs_Leaders.dtd", -- no dtd @@ -386,7 +386,8 @@ sport_info_test_files = "MLB_Pitching_Hit_Batters_Leaders.xml", "MLB_Pitching_HR_Allowed_Leaders.xml", "MLB_Pitching_IP_Leaders.xml", - "MLB_Pitching_Runs_Allowed_Leaders.xml" + "MLB_Pitching_Runs_Allowed_Leaders.xml", + "MLB_Pitching_Saves_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.dtd new file mode 100644 index 0000000..159abcd --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.xml new file mode 100644 index 0000000..d9220e8 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Saves_Leaders.xml @@ -0,0 +1,332 @@ + + + +91289117 +AAX%AL-SAVES-LEADERS +Statistics +MLB +2002 AL Saves Leaders + ++1 +Eddie Guardado, MIN +22 +1 +1 +2.21 + ++2 +Ugueth Urbina, BOS +20 +0 +2 +2.05 + ++3 +Billy Koch, OAK +19 +4 +0 +3.70 + ++4 +Mariano Rivera, NYY +18 +1 +3 +1.69 + ++5 +Kazuhiro Sasaki, SEA +17 +2 +1 +0.35 + ++ +Troy Percival, ANA +17 +2 +1 +2.42 + ++ +Bob Wickman, CLE +17 +0 +2 +4.44 + ++8 +Jorge Julio, BAL +15 +4 +4 +2.80 + ++9 +Hideki Irabu, TEX +14 +3 +6 +5.71 + ++10 +Kelvim Escobar, TOR +13 +3 +4 +5.00 + ++11 +Juan Acevedo, DET +11 +1 +4 +3.32 + ++12 +Roberto Hernandez, KC +10 +1 +0 +3.15 + ++13 +Esteban Yan, TB +9 +3 +3 +5.65 + ++14 +Keith Foulke, SOX +8 +1 +4 +4.81 + ++15 +Al Levine, ANA +4 +3 +2 +3.89 + ++16 +Steve Karsay, NYY +3 +3 +3 +2.47 + ++ +Antonio Osuna, SOX +3 +4 +1 +4.50 + ++ +Francisco Cordero, TEX +3 +0 +0 +3.15 + ++ +Tim Wakefield, BOS +3 +2 +2 +2.53 + ++20 +Rick Bauer, BAL +1 +3 +3 +5.20 + ++ +Blake Stein, KC +1 +0 +2 +9.11 + ++ +Ramiro Mendoza, NYY +1 +5 +2 +3.33 + ++ +Rolando Arrojo, BOS +1 +4 +2 +4.09 + ++ +Casey Fossum, BOS +1 +2 +1 +3.00 + ++ +Willis Roberts, BAL +1 +3 +2 +1.80 + ++ +Cory Bailey, KC +1 +3 +4 +4.04 + ++ +Gary Glover, SOX +1 +2 +3 +4.85 + ++ +Todd Van Poppel, TEX +1 +1 +0 +4.41 + ++ +Chad Bradford, OAK +1 +3 +1 +1.69 + ++ +Shigetoshi Hasegawa, SEA +1 +3 +1 +1.11 + ++ +David Riske, CLE +1 +1 +2 +5.86 + ++ +Mike Stanton, NYY +1 +3 +0 +2.56 + ++ +Buddy Groom, BAL +1 +2 +2 +2.08 + ++ +Steve Kent, TB +1 +0 +2 +4.02 + ++ +John Rocker, TEX +1 +1 +3 +6.35 + ++ +Travis Harper, TB +1 +2 +3 +2.78 + ++ +Pete Walker, TOR +1 +2 +0 +2.10 + ++ +Matt Ginter, SOX +1 +0 +0 +2.45 + ++ +Rafael Soriano, SEA +1 +0 +3 +3.67 + ++ +Anthony Telford, TEX +1 +1 +0 +4.58 + + + June 25, 2002, at 10:50 AM ET +