From: Michael Orlitzky Date: Tue, 17 Jun 2014 12:21:30 +0000 (-0400) Subject: Add SportInfo support for Minor_Baseball_Transactions_XML.dtd. X-Git-Tag: 0.0.6~174 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=57959023bb6ff17726eb10a83869a7c4c5deec1a;p=dead%2Fhtsn-import.git Add SportInfo support for Minor_Baseball_Transactions_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 95742b6..a9a2f3c 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -174,6 +174,8 @@ minorscoresxml.dtd Minor_Baseball_League_Leaders_XML.dtd .IP \[bu] Minor_Baseball_Standings_XML.dtd +.IP \[bu] +Minor_Baseball_Transactions_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Minor_Baseball_Transactions_XML.dtd b/schema/Minor_Baseball_Transactions_XML.dtd new file mode 100644 index 0000000..276193c --- /dev/null +++ b/schema/Minor_Baseball_Transactions_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Minor_Baseball_Transactions_XML/Minor_Baseball_Transactions_XML.xml b/schemagen/Minor_Baseball_Transactions_XML/Minor_Baseball_Transactions_XML.xml new file mode 100644 index 0000000..d79ad18 --- /dev/null +++ b/schemagen/Minor_Baseball_Transactions_XML/Minor_Baseball_Transactions_XML.xml @@ -0,0 +1,47 @@ + + + +236532 +BQC;FATES-FORTUNES +Fates_N_Fortunes +MINORBASE + +Minor League Baseball Transactions from The Sports Network + +Wednesday, March 3, 2004 + + ++Traded INF Alfredo Perez, C Antonio Ortega and OF Uriel Valdez +to Cancun for OF Fernando Villegas, P Mauricio Avila, INF Roberto Macias and C +Jesus Gavia. + ++Signed P Luis C. Garza and INF Fidel Garza; Released C Jesus Abrego, P +Martin Hernandez, P German Jimenez, P Rafael Manzano, P Abel Sierra, P Fernando +Soto, P Noe Villalobos, INF Rafael Zamudio; Traded INF Francisco Cervera to +Yucatan. + ++Traded INF Jorge L. Valle to Cancun for INF Abel Martinez. + ++Traded INF Ever Magallanes and P Jose C. Rubio to San Luis Potosi +for INF Miguel Flores. + ++Annouced the retirement of C Ventura Cisneros; released Jose +R. Medina and Saul Valenzuela. + ++Released INF Rayner Laya; signed OF Donzell McDonald; Traded P +Conrado Garza to Cancun to P Roberto Pimentel. + ++Traded OF Alonso Tellez to Cancun, who then traded Tellez to +Aguascalientes. + + + + March 9, 2004, at 03:52 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 3b05bde..232d3f4 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -104,7 +104,7 @@ dtds = "minorscoresxml.dtd", "Minor_Baseball_League_Leaders_XML.dtd", "Minor_Baseball_Standings_XML.dtd", - "Minor_Baseball_Transactions_XML.dtd", -- no dtd + "Minor_Baseball_Transactions_XML.dtd", "mlbbattingavgxml.dtd", -- no dtd "mlbdoublesleadersxml.dtd", -- no dtd "MLBGamesPlayedXML.dtd", -- no dtd @@ -348,7 +348,8 @@ sport_info_test_files = "LeagueScheduleXML.xml", "minorscoresxml.xml", "Minor_Baseball_League_Leaders_XML.xml", - "Minor_Baseball_Standings_XML.xml" + "Minor_Baseball_Standings_XML.xml", + "Minor_Baseball_Transactions_XML.xml" ] diff --git a/test/xml/sportinfo/Minor_Baseball_Transactions_XML.dtd b/test/xml/sportinfo/Minor_Baseball_Transactions_XML.dtd new file mode 100644 index 0000000..276193c --- /dev/null +++ b/test/xml/sportinfo/Minor_Baseball_Transactions_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Minor_Baseball_Transactions_XML.xml b/test/xml/sportinfo/Minor_Baseball_Transactions_XML.xml new file mode 100644 index 0000000..d79ad18 --- /dev/null +++ b/test/xml/sportinfo/Minor_Baseball_Transactions_XML.xml @@ -0,0 +1,47 @@ + + + +236532 +BQC;FATES-FORTUNES +Fates_N_Fortunes +MINORBASE + +Minor League Baseball Transactions from The Sports Network + +Wednesday, March 3, 2004 + + ++Traded INF Alfredo Perez, C Antonio Ortega and OF Uriel Valdez +to Cancun for OF Fernando Villegas, P Mauricio Avila, INF Roberto Macias and C +Jesus Gavia. + ++Signed P Luis C. Garza and INF Fidel Garza; Released C Jesus Abrego, P +Martin Hernandez, P German Jimenez, P Rafael Manzano, P Abel Sierra, P Fernando +Soto, P Noe Villalobos, INF Rafael Zamudio; Traded INF Francisco Cervera to +Yucatan. + ++Traded INF Jorge L. Valle to Cancun for INF Abel Martinez. + ++Traded INF Ever Magallanes and P Jose C. Rubio to San Luis Potosi +for INF Miguel Flores. + ++Annouced the retirement of C Ventura Cisneros; released Jose +R. Medina and Saul Valenzuela. + ++Released INF Rayner Laya; signed OF Donzell McDonald; Traded P +Conrado Garza to Cancun to P Roberto Pimentel. + ++Traded OF Alonso Tellez to Cancun, who then traded Tellez to +Aguascalientes. + + + + March 9, 2004, at 03:52 PM ET +