From: Michael Orlitzky Date: Wed, 11 Jun 2014 21:00:04 +0000 (-0400) Subject: Add SportInfo support for CBASK_BlocksXML.dtd. X-Git-Tag: 0.0.6~227 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=214655a6f5d1625a2dd042887777534a12595612;p=dead%2Fhtsn-import.git Add SportInfo support for CBASK_BlocksXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 8248363..91bd43c 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -116,6 +116,8 @@ Cbask_All_Tourn_Teams_XML.dtd CBASK_AssistsXML.dtd .IP \[bu] Cbask_Awards_XML.dtd +.IP \[bu] +CBASK_BlocksXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/CBASK_BlocksXML.dtd b/schema/CBASK_BlocksXML.dtd new file mode 100644 index 0000000..84281e3 --- /dev/null +++ b/schema/CBASK_BlocksXML.dtd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/CBASK_BlocksXML/CBASK_BlocksXML.xml b/schemagen/CBASK_BlocksXML/CBASK_BlocksXML.xml new file mode 100644 index 0000000..9808ce3 --- /dev/null +++ b/schemagen/CBASK_BlocksXML/CBASK_BlocksXML.xml @@ -0,0 +1,504 @@ + + + +17 +AEX%BLOCKS-LEADERS +Statistics +CBASK +2002-2003 Men's NCAA Basketball Top 25 Blocks Leaders ++1 +D.Harrison +Colorado +3 +31:40 +20 +6.7 +0 +0.0 +67 +22.3 + ++2 +K.Davis +Auburn +3 +28:20 +17 +5.7 +6 +2.0 +28 +9.3 + ++3 +K.Moore +Oral Roberts +3 +23:20 +15 +5.0 +2 +0.7 +16 +5.3 + ++4 +E.Okafor +Connecticut +3 +35:00 +14 +4.7 +1 +0.3 +54 +18.0 + ++5 +D.Johnson +U-N-L-V +3 +33:20 +13 +4.3 +6 +2.0 +54 +18.0 + ++6 +L.Cook +Alcorn St +2 +30:00 +8 +4.0 +2 +1.0 +37 +18.5 + ++7 +J.Lewis +Austin Peay +3 +29:00 +12 +4.0 +3 +1.0 +36 +12.0 + ++8 +R.Henderson +Clemson +2 +26:30 +8 +4.0 +2 +1.0 +20 +10.0 + ++ +C.Smith +Delaware +2 +25:00 +8 +4.0 +0 +0.0 +20 +10.0 + ++ +J.Grant +Lamar +2 +24:30 +8 +4.0 +0 +0.0 +21 +10.5 + ++9 +T.Jaquess +Tenn-Wesleyan +1 +18:00 +4 +4.0 +0 +0.0 +2 +2.0 + ++10 +N.Billings +Binghamton +3 +21:20 +11 +3.7 +3 +1.0 +26 +8.7 + ++ +D.Geddis +Portland Univ +3 +27:40 +11 +3.7 +11 +3.7 +30 +10.0 + ++11 +T.Smith +Arizona State +5 +27:12 +18 +3.6 +9 +1.8 +51 +10.2 + ++12 +D.Johnson +Texas Wesleyan +2 +34:30 +7 +3.5 +7 +3.5 +22 +11.0 + ++13 +J.Cornette +Notre Dame +5 +24:12 +17 +3.4 +4 +0.8 +17 +3.4 + ++14 +M.Badiane +East Carolina +3 +16:40 +10 +3.3 +0 +0.0 +23 +7.7 + ++ +G.Leach +Indiana +3 +27:20 +10 +3.3 +2 +0.7 +28 +9.3 + ++ +H.Romero +New Orleans +3 +33:20 +10 +3.3 +6 +2.0 +76 +25.3 + ++15 +A.Williams +Oklahoma State +4 +28:30 +13 +3.3 +2 +0.5 +17 +4.3 + ++ +T.Watson +Virginia +4 +32:00 +13 +3.3 +7 +1.8 +64 +16.0 + ++16 +R.Lewis +Jacksonville +5 +27:36 +16 +3.2 +2 +0.4 +31 +6.2 + ++17 +C.Wiedemann +Columbia +1 +30:00 +3 +3.0 +1 +1.0 +3 +3.0 + ++ +R.Wentt +Delaware +1 +20:00 +3 +3.0 +4 +4.0 +3 +3.0 + ++18 +A.Richardson +Florida State +2 +23:00 +6 +3.0 +3 +1.5 +22 +11.0 + ++19 +W.Wilson +Georgetown +3 +18:20 +9 +3.0 +1 +0.3 +17 +5.7 + ++ +C.Daniels +Georgia +3 +30:20 +9 +3.0 +12 +4.0 +39 +13.0 + ++ +K.Whitehead +James Madison +3 +30:40 +9 +3.0 +6 +2.0 +30 +10.0 + ++20 +J.Edwards +Kent State +2 +20:30 +6 +3.0 +1 +0.5 +20 +10.0 + ++21 +J.Eversteyn +Nevada +1 +9:00 +3 +3.0 +0 +0.0 +0 +0.0 + ++ +R.Howell +South Carolina +1 +30:00 +3 +3.0 +0 +0.0 +3 +3.0 + ++22 +K.Dixon +Southern Univ +2 +24:00 +6 +3.0 +1 +0.5 +11 +5.5 + ++23 +M.Riley +Washington St +3 +22:00 +9 +3.0 +3 +1.0 +21 +7.0 + ++24 +P.Muhizi +Rollins +1 +18:00 +3 +3.0 +0 +0.0 +4 +4.0 + ++ +W.Poe +Trevacca Nazarene +1 +34:00 +3 +3.0 +1 +1.0 +26 +26.0 + ++ +B.Cornelius +West Alabama +1 +11:00 +3 +3.0 +1 +1.0 +0 +0.0 + ++ +M.Brennan +Nyack +1 +7:00 +3 +3.0 +0 +0.0 +2 +2.0 + ++25 +A.Jennings +Northwestern +4 +30:00 +11 +2.8 +8 +2.0 +47 +11.8 + + December 2, 2002, at 02:35 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 36dd28a..6dc1bbb 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -70,7 +70,7 @@ dtds = "Cbask_All_Tourn_Teams_XML.dtd", "CBASK_AssistsXML.dtd", "Cbask_Awards_XML.dtd", - "CBASK_BlocksXML.dtd", -- no dtd + "CBASK_BlocksXML.dtd", "Cbask_Conf_Standings_XML.dtd", -- no dtd "Cbask_DivII_III_Indv_Stats_XML.dtd", -- no dtd "Cbask_DivII_Team_Stats_XML.dtd", -- no dtd @@ -319,7 +319,8 @@ sportinfo_test_files = [ "test/xml/sportinfo/CBASK_3PPctXML.xml", "test/xml/sportinfo/Cbask_All_Tourn_Teams_XML.xml", "test/xml/sportinfo/CBASK_AssistsXML.xml", - "test/xml/sportinfo/Cbask_Awards_XML.xml" + "test/xml/sportinfo/Cbask_Awards_XML.xml", + "test/xml/sportinfo/CBASK_BlocksXML.xml" ] diff --git a/test/xml/sportinfo/CBASK_BlocksXML.dtd b/test/xml/sportinfo/CBASK_BlocksXML.dtd new file mode 100644 index 0000000..84281e3 --- /dev/null +++ b/test/xml/sportinfo/CBASK_BlocksXML.dtd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/CBASK_BlocksXML.xml b/test/xml/sportinfo/CBASK_BlocksXML.xml new file mode 100644 index 0000000..9808ce3 --- /dev/null +++ b/test/xml/sportinfo/CBASK_BlocksXML.xml @@ -0,0 +1,504 @@ + + + +17 +AEX%BLOCKS-LEADERS +Statistics +CBASK +2002-2003 Men's NCAA Basketball Top 25 Blocks Leaders ++1 +D.Harrison +Colorado +3 +31:40 +20 +6.7 +0 +0.0 +67 +22.3 + ++2 +K.Davis +Auburn +3 +28:20 +17 +5.7 +6 +2.0 +28 +9.3 + ++3 +K.Moore +Oral Roberts +3 +23:20 +15 +5.0 +2 +0.7 +16 +5.3 + ++4 +E.Okafor +Connecticut +3 +35:00 +14 +4.7 +1 +0.3 +54 +18.0 + ++5 +D.Johnson +U-N-L-V +3 +33:20 +13 +4.3 +6 +2.0 +54 +18.0 + ++6 +L.Cook +Alcorn St +2 +30:00 +8 +4.0 +2 +1.0 +37 +18.5 + ++7 +J.Lewis +Austin Peay +3 +29:00 +12 +4.0 +3 +1.0 +36 +12.0 + ++8 +R.Henderson +Clemson +2 +26:30 +8 +4.0 +2 +1.0 +20 +10.0 + ++ +C.Smith +Delaware +2 +25:00 +8 +4.0 +0 +0.0 +20 +10.0 + ++ +J.Grant +Lamar +2 +24:30 +8 +4.0 +0 +0.0 +21 +10.5 + ++9 +T.Jaquess +Tenn-Wesleyan +1 +18:00 +4 +4.0 +0 +0.0 +2 +2.0 + ++10 +N.Billings +Binghamton +3 +21:20 +11 +3.7 +3 +1.0 +26 +8.7 + ++ +D.Geddis +Portland Univ +3 +27:40 +11 +3.7 +11 +3.7 +30 +10.0 + ++11 +T.Smith +Arizona State +5 +27:12 +18 +3.6 +9 +1.8 +51 +10.2 + ++12 +D.Johnson +Texas Wesleyan +2 +34:30 +7 +3.5 +7 +3.5 +22 +11.0 + ++13 +J.Cornette +Notre Dame +5 +24:12 +17 +3.4 +4 +0.8 +17 +3.4 + ++14 +M.Badiane +East Carolina +3 +16:40 +10 +3.3 +0 +0.0 +23 +7.7 + ++ +G.Leach +Indiana +3 +27:20 +10 +3.3 +2 +0.7 +28 +9.3 + ++ +H.Romero +New Orleans +3 +33:20 +10 +3.3 +6 +2.0 +76 +25.3 + ++15 +A.Williams +Oklahoma State +4 +28:30 +13 +3.3 +2 +0.5 +17 +4.3 + ++ +T.Watson +Virginia +4 +32:00 +13 +3.3 +7 +1.8 +64 +16.0 + ++16 +R.Lewis +Jacksonville +5 +27:36 +16 +3.2 +2 +0.4 +31 +6.2 + ++17 +C.Wiedemann +Columbia +1 +30:00 +3 +3.0 +1 +1.0 +3 +3.0 + ++ +R.Wentt +Delaware +1 +20:00 +3 +3.0 +4 +4.0 +3 +3.0 + ++18 +A.Richardson +Florida State +2 +23:00 +6 +3.0 +3 +1.5 +22 +11.0 + ++19 +W.Wilson +Georgetown +3 +18:20 +9 +3.0 +1 +0.3 +17 +5.7 + ++ +C.Daniels +Georgia +3 +30:20 +9 +3.0 +12 +4.0 +39 +13.0 + ++ +K.Whitehead +James Madison +3 +30:40 +9 +3.0 +6 +2.0 +30 +10.0 + ++20 +J.Edwards +Kent State +2 +20:30 +6 +3.0 +1 +0.5 +20 +10.0 + ++21 +J.Eversteyn +Nevada +1 +9:00 +3 +3.0 +0 +0.0 +0 +0.0 + ++ +R.Howell +South Carolina +1 +30:00 +3 +3.0 +0 +0.0 +3 +3.0 + ++22 +K.Dixon +Southern Univ +2 +24:00 +6 +3.0 +1 +0.5 +11 +5.5 + ++23 +M.Riley +Washington St +3 +22:00 +9 +3.0 +3 +1.0 +21 +7.0 + ++24 +P.Muhizi +Rollins +1 +18:00 +3 +3.0 +0 +0.0 +4 +4.0 + ++ +W.Poe +Trevacca Nazarene +1 +34:00 +3 +3.0 +1 +1.0 +26 +26.0 + ++ +B.Cornelius +West Alabama +1 +11:00 +3 +3.0 +1 +1.0 +0 +0.0 + ++ +M.Brennan +Nyack +1 +7:00 +3 +3.0 +0 +0.0 +2 +2.0 + ++25 +A.Jennings +Northwestern +4 +30:00 +11 +2.8 +8 +2.0 +47 +11.8 + + December 2, 2002, at 02:35 PM ET +