From: Michael Orlitzky Date: Wed, 18 Jun 2014 21:33:00 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Appearances_Leaders.dtd. X-Git-Tag: 0.0.6~144 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b27351e17dff0223fec805cd6a6c79afcf89a8f4;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Appearances_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 2ff0427..e94a427 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -230,6 +230,8 @@ MLBWalkRateXML.dtd mlbwalksleadersxml.dtd .IP \[bu] MLBXtraBaseHitsXML.dtd +.IP \[bu] +MLB_Pitching_Appearances_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Appearances_Leaders.dtd b/schema/MLB_Pitching_Appearances_Leaders.dtd new file mode 100644 index 0000000..a486364 --- /dev/null +++ b/schema/MLB_Pitching_Appearances_Leaders.dtd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Appearances_Leaders/MLB_Pitching_Appearances_Leaders.xml b/schemagen/MLB_Pitching_Appearances_Leaders/MLB_Pitching_Appearances_Leaders.xml new file mode 100644 index 0000000..7d55463 --- /dev/null +++ b/schemagen/MLB_Pitching_Appearances_Leaders/MLB_Pitching_Appearances_Leaders.xml @@ -0,0 +1,412 @@ + + + +88071117 +AAX%AL-APPEARANCES-LEADERS +Statistics +MLB +2002 AL Appearances Leaders + ++1 +J.C. Romero, MIN +42 +43.2 +0 +3 +1 +0.82 + ++2 +Steve Karsay, NYY +38 +47.1 +3 +3 +3 +2.47 + ++3 +Billy Koch, OAK +37 +41.1 +19 +4 +0 +3.70 + ++4 +Mike Stanton, NYY +36 +38.2 +1 +3 +0 +2.56 + ++5 +Eddie Guardado, MIN +35 +36.2 +22 +1 +1 +2.21 + ++ +Jorge Julio, BAL +35 +35.1 +15 +4 +4 +2.80 + ++7 +Ricardo Rincon, CLE +34 +27.0 +0 +0 +2 +3.00 + ++ +Chad Bradford, OAK +34 +37.1 +1 +3 +1 +1.69 + ++ +Damaso Marte, SOX +34 +28.2 +0 +1 +0 +3.77 + ++ +Cory Bailey, KC +34 +42.1 +1 +3 +4 +4.04 + ++ +Willis Roberts, BAL +34 +40.0 +1 +3 +2 +1.80 + ++12 +Buddy Groom, BAL +33 +30.1 +1 +2 +2 +2.08 + ++ +David Riske, CLE +33 +27.2 +1 +1 +2 +5.86 + ++ +Bob Howry, SOX +33 +34.2 +0 +0 +1 +3.63 + ++ +Mike Jackson, MIN +33 +31.0 +0 +2 +2 +2.03 + ++16 +LaTroy Hawkins, MIN +32 +47.2 +0 +3 +0 +1.70 + ++ +Al Levine, ANA +32 +34.2 +4 +3 +2 +3.89 + ++ +Jim Mecir, OAK +32 +36.0 +0 +2 +1 +4.75 + ++ +Hideki Irabu, TEX +32 +41.0 +14 +3 +6 +5.71 + ++ +Kelvim Escobar, TOR +32 +36.0 +13 +3 +4 +5.00 + ++ +Scott Eyre, TOR +32 +51.1 +0 +1 +3 +5.44 + ++22 +B.J. Ryan, BAL +31 +23.1 +0 +1 +0 +7.71 + ++23 +Juan Acevedo, DET +30 +40.2 +11 +1 +4 +3.32 + ++ +Mike Venafro, OAK +30 +28.0 +0 +2 +1 +2.57 + ++ +Casey Fossum, BOS +30 +33.0 +1 +2 +1 +3.00 + ++ +Rick Bauer, BAL +30 +36.1 +1 +3 +3 +5.20 + ++27 +Arthur Rhodes, SEA +29 +25.0 +0 +4 +1 +3.60 + ++ +Keith Foulke, SOX +29 +33.2 +8 +1 +4 +4.81 + ++ +Antonio Osuna, SOX +29 +34.0 +3 +4 +1 +4.50 + ++ +Dennis Cook, ANA +29 +20.1 +0 +1 +1 +3.10 + ++31 +Bob Wickman, CLE +28 +26.1 +17 +0 +2 +4.44 + ++ +Bob Wells, MIN +28 +33.0 +0 +0 +1 +7.36 + ++ +Jose Paniagua, DET +28 +30.2 +0 +0 +1 +4.70 + ++ +Ramiro Mendoza, NYY +28 +46.0 +1 +5 +2 +3.33 + ++35 +John Rocker, TEX +27 +22.2 +1 +1 +3 +6.35 + ++ +Mike Magnante, OAK +27 +22.2 +0 +0 +1 +6.35 + ++ +Paul Shuey, CLE +27 +25.0 +0 +2 +0 +2.52 + ++ +Ben Weber, ANA +27 +35.0 +0 +3 +2 +2.83 + ++ +Victor Zambrano, TB +27 +41.0 +0 +3 +4 +5.93 + ++ +Ugueth Urbina, BOS +27 +26.1 +20 +0 +2 +2.05 + + + June 25, 2002, at 11:16 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 59bca7a..253136b 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -134,7 +134,7 @@ dtds = "MLBXtraBaseHitsXML.dtd", "MLB_ERA_Leaders.dtd", -- no dtd "MLB_Fielding_XML.dtd", -- no dtd - "MLB_Pitching_Appearances_Leaders.dtd", -- no dtd + "MLB_Pitching_Appearances_Leaders.dtd", "MLB_Pitching_Balks_Leaders.dtd", -- no dtd "MLB_Pitching_CG_Leaders.dtd", -- no dtd "MLB_Pitching_ER_Allowed_Leaders.dtd", -- no dtd @@ -376,7 +376,8 @@ sport_info_test_files = "mlbtriplesleadersxml.xml", "MLBWalkRateXML.xml", "mlbwalksleadersxml.xml", - "MLBXtraBaseHitsXML.xml" + "MLBXtraBaseHitsXML.xml", + "MLB_Pitching_Appearances_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.dtd new file mode 100644 index 0000000..a486364 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.dtd @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.xml new file mode 100644 index 0000000..7d55463 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Appearances_Leaders.xml @@ -0,0 +1,412 @@ + + + +88071117 +AAX%AL-APPEARANCES-LEADERS +Statistics +MLB +2002 AL Appearances Leaders + ++1 +J.C. Romero, MIN +42 +43.2 +0 +3 +1 +0.82 + ++2 +Steve Karsay, NYY +38 +47.1 +3 +3 +3 +2.47 + ++3 +Billy Koch, OAK +37 +41.1 +19 +4 +0 +3.70 + ++4 +Mike Stanton, NYY +36 +38.2 +1 +3 +0 +2.56 + ++5 +Eddie Guardado, MIN +35 +36.2 +22 +1 +1 +2.21 + ++ +Jorge Julio, BAL +35 +35.1 +15 +4 +4 +2.80 + ++7 +Ricardo Rincon, CLE +34 +27.0 +0 +0 +2 +3.00 + ++ +Chad Bradford, OAK +34 +37.1 +1 +3 +1 +1.69 + ++ +Damaso Marte, SOX +34 +28.2 +0 +1 +0 +3.77 + ++ +Cory Bailey, KC +34 +42.1 +1 +3 +4 +4.04 + ++ +Willis Roberts, BAL +34 +40.0 +1 +3 +2 +1.80 + ++12 +Buddy Groom, BAL +33 +30.1 +1 +2 +2 +2.08 + ++ +David Riske, CLE +33 +27.2 +1 +1 +2 +5.86 + ++ +Bob Howry, SOX +33 +34.2 +0 +0 +1 +3.63 + ++ +Mike Jackson, MIN +33 +31.0 +0 +2 +2 +2.03 + ++16 +LaTroy Hawkins, MIN +32 +47.2 +0 +3 +0 +1.70 + ++ +Al Levine, ANA +32 +34.2 +4 +3 +2 +3.89 + ++ +Jim Mecir, OAK +32 +36.0 +0 +2 +1 +4.75 + ++ +Hideki Irabu, TEX +32 +41.0 +14 +3 +6 +5.71 + ++ +Kelvim Escobar, TOR +32 +36.0 +13 +3 +4 +5.00 + ++ +Scott Eyre, TOR +32 +51.1 +0 +1 +3 +5.44 + ++22 +B.J. Ryan, BAL +31 +23.1 +0 +1 +0 +7.71 + ++23 +Juan Acevedo, DET +30 +40.2 +11 +1 +4 +3.32 + ++ +Mike Venafro, OAK +30 +28.0 +0 +2 +1 +2.57 + ++ +Casey Fossum, BOS +30 +33.0 +1 +2 +1 +3.00 + ++ +Rick Bauer, BAL +30 +36.1 +1 +3 +3 +5.20 + ++27 +Arthur Rhodes, SEA +29 +25.0 +0 +4 +1 +3.60 + ++ +Keith Foulke, SOX +29 +33.2 +8 +1 +4 +4.81 + ++ +Antonio Osuna, SOX +29 +34.0 +3 +4 +1 +4.50 + ++ +Dennis Cook, ANA +29 +20.1 +0 +1 +1 +3.10 + ++31 +Bob Wickman, CLE +28 +26.1 +17 +0 +2 +4.44 + ++ +Bob Wells, MIN +28 +33.0 +0 +0 +1 +7.36 + ++ +Jose Paniagua, DET +28 +30.2 +0 +0 +1 +4.70 + ++ +Ramiro Mendoza, NYY +28 +46.0 +1 +5 +2 +3.33 + ++35 +John Rocker, TEX +27 +22.2 +1 +1 +3 +6.35 + ++ +Mike Magnante, OAK +27 +22.2 +0 +0 +1 +6.35 + ++ +Paul Shuey, CLE +27 +25.0 +0 +2 +0 +2.52 + ++ +Ben Weber, ANA +27 +35.0 +0 +3 +2 +2.83 + ++ +Victor Zambrano, TB +27 +41.0 +0 +3 +4 +5.93 + ++ +Ugueth Urbina, BOS +27 +26.1 +20 +0 +2 +2.05 + + + June 25, 2002, at 11:16 AM ET +