From: Michael Orlitzky Date: Sun, 22 Jun 2014 14:40:43 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_CG_Leaders.dtd. X-Git-Tag: 0.0.6~141 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b02308fe9fc068e6af79396693cbe9f48d87e047;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_CG_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index fbd875b..c05b639 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -236,6 +236,8 @@ MLB_Pitching_Appearances_Leaders.dtd MLB_ERA_Leaders.dtd .IP \[bu] MLB_Pitching_Balks_Leaders.dtd +.IP \[bu] +MLB_Pitching_CG_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_CG_Leaders.dtd b/schema/MLB_Pitching_CG_Leaders.dtd new file mode 100644 index 0000000..aa1b7d2 --- /dev/null +++ b/schema/MLB_Pitching_CG_Leaders.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_CG_Leaders/MLB_Pitching_CG_Leaders.xml b/schemagen/MLB_Pitching_CG_Leaders/MLB_Pitching_CG_Leaders.xml new file mode 100644 index 0000000..a186791 --- /dev/null +++ b/schemagen/MLB_Pitching_CG_Leaders/MLB_Pitching_CG_Leaders.xml @@ -0,0 +1,264 @@ + + + +1015617 +AAX%AL-COMPLETEGAMES-LEADERS +Statistics +MLB +2002 AL Complete Games Leaders + ++1 +Bartolo Colon, CLE +4 +16 +116.1 + ++2 +Joe Kennedy, TB +3 +15 +101.1 + ++ +Jeff Weaver, DET +3 +16 +114.0 + ++ +Ramon Ortiz, ANA +3 +14 +102.1 + ++5 +Mark Redman, DET +2 +15 +105.2 + ++ +Ted Lilly, NYY +2 +10 +72.2 + ++ +Kenny Rogers, TEX +2 +16 +102.2 + ++ +Jamie Moyer, SEA +2 +16 +106.1 + ++ +Steve Sparks, DET +2 +14 +86.1 + ++ +Ryan Rupe, TB +2 +14 +87.2 + ++ +Roy Halladay, TOR +2 +16 +113.0 + ++12 +Derek Lowe, BOS +1 +15 +104.1 + ++ +Rick Reed, MIN +1 +15 +82.1 + ++ +Paul Byrd, KC +1 +15 +97.1 + ++ +Chuck Finley, CLE +1 +15 +89.0 + ++ +Pedro Martinez, BOS +1 +15 +95.2 + ++ +Darren Oliver, BOS +1 +9 +58.0 + ++ +Scott Erickson, BAL +1 +16 +96.1 + ++ +Rodrigo Lopez, BAL +1 +11 +86.2 + ++ +Brad Radke, MIN +1 +10 +51.2 + ++ +Jeff Suppan, KC +1 +16 +100.1 + ++ +Mark Buehrle, SOX +1 +16 +110.0 + ++ +Freddy Garcia, SEA +1 +17 +113.1 + ++ +Joel Pineiro, SEA +1 +11 +83.0 + ++ +Mark Mulder, OAK +1 +12 +72.2 + ++ +Tim Hudson, OAK +1 +16 +108.2 + ++ +Paul Wilson, TB +1 +14 +95.1 + ++ +David Wells, NYY +1 +15 +99.2 + ++ +Danny Wright, SOX +1 +16 +92.0 + ++ +Ryan Drese, CLE +1 +14 +80.1 + ++ +Dave Burba, TEX +1 +15 +90.0 + ++ +Doug Davis, TEX +1 +10 +59.2 + ++ +Sidney Ponson, BAL +1 +15 +95.0 + ++ +Nate Cornejo, DET +1 +7 +38.0 + ++ +Darrell May, KC +1 +8 +43.1 + ++ +Esteban Loaiza, TOR +1 +8 +48.2 + + + June 25, 2002, at 11:27 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 7d94f54..694ade1 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -136,7 +136,7 @@ dtds = "MLB_Fielding_XML.dtd", "MLB_Pitching_Appearances_Leaders.dtd", "MLB_Pitching_Balks_Leaders.dtd", - "MLB_Pitching_CG_Leaders.dtd", -- no dtd + "MLB_Pitching_CG_Leaders.dtd", "MLB_Pitching_ER_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Hits_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Hit_Batters_Leaders.dtd", -- no dtd @@ -379,7 +379,8 @@ sport_info_test_files = "MLBXtraBaseHitsXML.xml", "MLB_ERA_Leaders.xml", "MLB_Pitching_Appearances_Leaders.xml", - "MLB_Pitching_Balks_Leaders.xml" + "MLB_Pitching_Balks_Leaders.xml", + "MLB_Pitching_CG_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_CG_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_CG_Leaders.dtd new file mode 100644 index 0000000..aa1b7d2 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_CG_Leaders.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_CG_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_CG_Leaders.xml new file mode 100644 index 0000000..a186791 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_CG_Leaders.xml @@ -0,0 +1,264 @@ + + + +1015617 +AAX%AL-COMPLETEGAMES-LEADERS +Statistics +MLB +2002 AL Complete Games Leaders + ++1 +Bartolo Colon, CLE +4 +16 +116.1 + ++2 +Joe Kennedy, TB +3 +15 +101.1 + ++ +Jeff Weaver, DET +3 +16 +114.0 + ++ +Ramon Ortiz, ANA +3 +14 +102.1 + ++5 +Mark Redman, DET +2 +15 +105.2 + ++ +Ted Lilly, NYY +2 +10 +72.2 + ++ +Kenny Rogers, TEX +2 +16 +102.2 + ++ +Jamie Moyer, SEA +2 +16 +106.1 + ++ +Steve Sparks, DET +2 +14 +86.1 + ++ +Ryan Rupe, TB +2 +14 +87.2 + ++ +Roy Halladay, TOR +2 +16 +113.0 + ++12 +Derek Lowe, BOS +1 +15 +104.1 + ++ +Rick Reed, MIN +1 +15 +82.1 + ++ +Paul Byrd, KC +1 +15 +97.1 + ++ +Chuck Finley, CLE +1 +15 +89.0 + ++ +Pedro Martinez, BOS +1 +15 +95.2 + ++ +Darren Oliver, BOS +1 +9 +58.0 + ++ +Scott Erickson, BAL +1 +16 +96.1 + ++ +Rodrigo Lopez, BAL +1 +11 +86.2 + ++ +Brad Radke, MIN +1 +10 +51.2 + ++ +Jeff Suppan, KC +1 +16 +100.1 + ++ +Mark Buehrle, SOX +1 +16 +110.0 + ++ +Freddy Garcia, SEA +1 +17 +113.1 + ++ +Joel Pineiro, SEA +1 +11 +83.0 + ++ +Mark Mulder, OAK +1 +12 +72.2 + ++ +Tim Hudson, OAK +1 +16 +108.2 + ++ +Paul Wilson, TB +1 +14 +95.1 + ++ +David Wells, NYY +1 +15 +99.2 + ++ +Danny Wright, SOX +1 +16 +92.0 + ++ +Ryan Drese, CLE +1 +14 +80.1 + ++ +Dave Burba, TEX +1 +15 +90.0 + ++ +Doug Davis, TEX +1 +10 +59.2 + ++ +Sidney Ponson, BAL +1 +15 +95.0 + ++ +Nate Cornejo, DET +1 +7 +38.0 + ++ +Darrell May, KC +1 +8 +43.1 + ++ +Esteban Loaiza, TOR +1 +8 +48.2 + + + June 25, 2002, at 11:27 AM ET +