From: Michael Orlitzky Date: Wed, 18 Jun 2014 14:36:09 +0000 (-0400) Subject: Add SportInfo support for MLBSacFliesXML.dtd. X-Git-Tag: 0.0.6~156 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=1466c4aa54cecef580e4ddc8d8f17ca7f54bff07;p=dead%2Fhtsn-import.git Add SportInfo support for MLBSacFliesXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 963c9bd..e54f13f 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -206,6 +206,8 @@ MLBPlateAppsXML.dtd mlbrbisxml.dtd .IP \[bu] mlbrunsleadersxml.dtd +.IP \[bu] +MLBSacFliesXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLBSacFliesXML.dtd b/schema/MLBSacFliesXML.dtd new file mode 100644 index 0000000..1f6bbfa --- /dev/null +++ b/schema/MLBSacFliesXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLBSacFliesXML/MLBSacFliesXML.xml b/schemagen/MLBSacFliesXML/MLBSacFliesXML.xml new file mode 100644 index 0000000..b1ae3b3 --- /dev/null +++ b/schemagen/MLBSacFliesXML/MLBSacFliesXML.xml @@ -0,0 +1,210 @@ + + + +1917787 +AAX%AL-SACRIFICEFLIES-LEADERS +Statistics +MLB +2002 AL Sacrifice Flies Leaders ++1 +Joe Randa, KC +8 + ++2 +Omar Vizquel, CLE +7 + ++ +Jeff Conine, BAL +7 + ++ +Desi Relaford, SEA +7 + ++5 +Nomar Garciaparra, BOS +6 + ++ +David Ortiz, MIN +6 + ++ +Jeff Cirillo, SEA +6 + ++ +John Olerud, SEA +6 + ++9 +Garret Anderson, ANA +5 + ++ +Jacque Jones, MIN +5 + ++ +Carlos Lee, SOX +5 + ++12 +Ben Molina, ANA +4 + ++ +Johnny Damon, BOS +4 + ++ +Chris Singleton, BAL +4 + ++ +Tony Batista, BAL +4 + ++ +Cristian Guzman, MIN +4 + ++ +Neifi Perez, KC +4 + ++ +Mike Sweeney, KC +4 + ++ +Ray Durham, SOX +4 + ++ +Frank Thomas, SOX +4 + ++ +Royce Clayton, SOX +4 + ++ +Ichiro Suzuki, SEA +4 + ++ +Mark McLemore, SEA +4 + ++ +Rafael Palmeiro, TEX +4 + ++ +Bobby Higginson, DET +4 + ++ +Wendell Magee Jr., DET +4 + ++ +Scott Spiezio, ANA +4 + ++28 +Marty Cordova, BAL +3 + ++ +Jim Thome, CLE +3 + ++ +David Eckstein, ANA +3 + ++ +Tim Salmon, ANA +3 + ++ +Troy Glaus, ANA +3 + ++ +Carlos Delgado, TOR +3 + ++ +Darrin Fletcher, TOR +3 + ++ +Jose Offerman, BOS +3 + ++ +Jorge Posada, NYY +3 + ++ +Rondell White, NYY +3 + ++ +Doug Mientkiewicz, MIN +3 + ++ +Torii Hunter, MIN +3 + ++ +Corey Koskie, MIN +3 + + June 27, 2002, at 11:52 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 94093b1..e6ad871 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -120,7 +120,7 @@ dtds = "MLBPlateAppsXML.dtd", "mlbrbisxml.dtd", "mlbrunsleadersxml.dtd", - "MLBSacFliesXML.dtd", -- no dtd + "MLBSacFliesXML.dtd", "MLBSacrificesXML.dtd", -- no dtd "MLBSBSuccessXML.dtd", -- no dtd "mlbsluggingpctxml.dtd", -- no dtd @@ -364,7 +364,8 @@ sport_info_test_files = "MLBOPSXML.xml", "MLBPlateAppsXML.xml", "mlbrbisxml.xml", - "mlbrunsleadersxml.xml" + "mlbrunsleadersxml.xml", + "MLBSacFliesXML.xml" ] diff --git a/test/xml/sportinfo/MLBSacFliesXML.dtd b/test/xml/sportinfo/MLBSacFliesXML.dtd new file mode 100644 index 0000000..1f6bbfa --- /dev/null +++ b/test/xml/sportinfo/MLBSacFliesXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLBSacFliesXML.xml b/test/xml/sportinfo/MLBSacFliesXML.xml new file mode 100644 index 0000000..b1ae3b3 --- /dev/null +++ b/test/xml/sportinfo/MLBSacFliesXML.xml @@ -0,0 +1,210 @@ + + + +1917787 +AAX%AL-SACRIFICEFLIES-LEADERS +Statistics +MLB +2002 AL Sacrifice Flies Leaders ++1 +Joe Randa, KC +8 + ++2 +Omar Vizquel, CLE +7 + ++ +Jeff Conine, BAL +7 + ++ +Desi Relaford, SEA +7 + ++5 +Nomar Garciaparra, BOS +6 + ++ +David Ortiz, MIN +6 + ++ +Jeff Cirillo, SEA +6 + ++ +John Olerud, SEA +6 + ++9 +Garret Anderson, ANA +5 + ++ +Jacque Jones, MIN +5 + ++ +Carlos Lee, SOX +5 + ++12 +Ben Molina, ANA +4 + ++ +Johnny Damon, BOS +4 + ++ +Chris Singleton, BAL +4 + ++ +Tony Batista, BAL +4 + ++ +Cristian Guzman, MIN +4 + ++ +Neifi Perez, KC +4 + ++ +Mike Sweeney, KC +4 + ++ +Ray Durham, SOX +4 + ++ +Frank Thomas, SOX +4 + ++ +Royce Clayton, SOX +4 + ++ +Ichiro Suzuki, SEA +4 + ++ +Mark McLemore, SEA +4 + ++ +Rafael Palmeiro, TEX +4 + ++ +Bobby Higginson, DET +4 + ++ +Wendell Magee Jr., DET +4 + ++ +Scott Spiezio, ANA +4 + ++28 +Marty Cordova, BAL +3 + ++ +Jim Thome, CLE +3 + ++ +David Eckstein, ANA +3 + ++ +Tim Salmon, ANA +3 + ++ +Troy Glaus, ANA +3 + ++ +Carlos Delgado, TOR +3 + ++ +Darrin Fletcher, TOR +3 + ++ +Jose Offerman, BOS +3 + ++ +Jorge Posada, NYY +3 + ++ +Rondell White, NYY +3 + ++ +Doug Mientkiewicz, MIN +3 + ++ +Torii Hunter, MIN +3 + ++ +Corey Koskie, MIN +3 + + June 27, 2002, at 11:52 AM ET +