From: Michael Orlitzky Date: Mon, 23 Jun 2014 19:23:33 +0000 (-0400) Subject: Add SportInfo support for WNBAReboundsXML.dtd. X-Git-Tag: 0.0.6~79 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=889969df41ced305a3f0101d36babeeca4fd8749;p=dead%2Fhtsn-import.git Add SportInfo support for WNBAReboundsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 44e8128..4ef7f46 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -360,6 +360,8 @@ WNBAFoulsXML.dtd WNBAFTPctXML.dtd .IP \[bu] WNBAMinutesXML.dtd +.IP \[bu] +WNBAReboundsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBAReboundsXML.dtd b/schema/WNBAReboundsXML.dtd new file mode 100644 index 0000000..684a1a8 --- /dev/null +++ b/schema/WNBAReboundsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBAReboundsXML/WNBAReboundsXML.xml b/schemagen/WNBAReboundsXML/WNBAReboundsXML.xml new file mode 100644 index 0000000..dc2fe32 --- /dev/null +++ b/schemagen/WNBAReboundsXML/WNBAReboundsXML.xml @@ -0,0 +1,346 @@ + + + +8297117 +ACX%REBOUNDS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Rebounding Leaders ++1 +D.Fortson,GS +40 +30:24 +507 +12.7 +172 +4.3 +335 +8.4 + ++2 +T.Duncan,SAN +39 +41:23 +505 +12.9 +137 +3.5 +368 +9.4 + ++3 +K.Garnett,MIN +40 +39:13 +484 +12.1 +123 +3.1 +361 +9.0 + ++4 +D.Mutombo,PHI +41 +36:13 +472 +11.5 +137 +3.3 +335 +8.2 + ++ +E.Brand,LAC +42 +36:21 +472 +11.2 +182 +4.3 +290 +6.9 + ++5 +B.Wallace,DET +39 +34:13 +454 +11.6 +139 +3.6 +315 +8.1 + ++6 +S.Marion,PHO +41 +36:42 +388 +9.5 +112 +2.7 +276 +6.7 + ++7 +A.Walker,BOS +40 +42:36 +387 +9.7 +93 +2.3 +294 +7.4 + ++8 +J.O`Neal,IND +36 +36:05 +384 +10.7 +98 +2.7 +286 +7.9 + ++9 +S.Abdur-Rahim,ATL +39 +37:26 +382 +9.8 +111 +2.8 +271 +6.9 + ++10 +P.Brown,CHA +39 +31:30 +379 +9.7 +126 +3.2 +253 +6.5 + ++ +D.Nowitzki,DAL +40 +37:49 +379 +9.5 +65 +1.6 +314 +7.9 + ++11 +K.Malone,UTA +41 +38:43 +358 +8.7 +73 +1.8 +285 +7.0 + ++12 +P.Gasol,MEM +40 +36:27 +356 +8.9 +120 +3.0 +236 +5.9 + ++13 +R.Wallace,POR +41 +38:24 +352 +8.6 +90 +2.2 +262 +6.4 + ++14 +A.Davis,TOR +37 +37:24 +349 +9.4 +120 +3.2 +229 +6.2 + ++15 +M.Olowokandi,LAC +41 +28:05 +346 +8.4 +85 +2.1 +261 +6.4 + ++16 +N.Mohammed,ATL +41 +26:36 +338 +8.2 +131 +3.2 +207 +5.0 + ++17 +V.Divac,SAC +39 +32:43 +337 +8.6 +98 +2.5 +239 +6.1 + ++18 +B.Miller,CHI +39 +28:46 +329 +8.4 +141 +3.6 +188 +4.8 + ++19 +J.Foster,IND +43 +24:22 +325 +7.6 +126 +2.9 +199 +4.6 + ++20 +A.Mason,MIL +40 +37:52 +324 +8.1 +67 +1.7 +257 +6.4 + ++21 +K.Thomas,NY +39 +31:10 +322 +8.3 +100 +2.6 +222 +5.7 + ++ +D.Davis,POR +39 +29:49 +322 +8.3 +135 +3.5 +187 +4.8 + ++22 +S.O`Neal,LAL +30 +35:12 +321 +10.7 +110 +3.7 +211 +7.0 + ++23 +K.Clark,TOR +41 +24:04 +315 +7.7 +103 +2.5 +212 +5.2 + ++24 +R.LaFrentz,DEN +41 +31:58 +310 +7.6 +96 +2.3 +214 +5.2 + ++25 +D.Robinson,SAN +39 +28:26 +305 +7.8 +102 +2.6 +203 +5.2 + + January 23, 2002, at 03:38 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index ad33d53..e0b3aca 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -208,7 +208,7 @@ dtds = "WNBAFoulsXML.dtd", "WNBAFTPctXML.dtd", "WNBAMinutesXML.dtd", - "WNBAReboundsXML.dtd", -- no dtd + "WNBAReboundsXML.dtd", "WNBAScorersXML.dtd", -- no dtd "wnbastandxml.dtd", -- no dtd "WNBAStealsXML.dtd", -- no dtd @@ -441,7 +441,8 @@ sport_info_test_files = "WNBAFGPctXML.xml", "WNBAFoulsXML.xml", "WNBAFTPctXML.xml", - "WNBAMinutesXML.xml" + "WNBAMinutesXML.xml", + "WNBAReboundsXML.xml" ] diff --git a/test/xml/sportinfo/WNBAReboundsXML.dtd b/test/xml/sportinfo/WNBAReboundsXML.dtd new file mode 100644 index 0000000..684a1a8 --- /dev/null +++ b/test/xml/sportinfo/WNBAReboundsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBAReboundsXML.xml b/test/xml/sportinfo/WNBAReboundsXML.xml new file mode 100644 index 0000000..dc2fe32 --- /dev/null +++ b/test/xml/sportinfo/WNBAReboundsXML.xml @@ -0,0 +1,346 @@ + + + +8297117 +ACX%REBOUNDS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Rebounding Leaders ++1 +D.Fortson,GS +40 +30:24 +507 +12.7 +172 +4.3 +335 +8.4 + ++2 +T.Duncan,SAN +39 +41:23 +505 +12.9 +137 +3.5 +368 +9.4 + ++3 +K.Garnett,MIN +40 +39:13 +484 +12.1 +123 +3.1 +361 +9.0 + ++4 +D.Mutombo,PHI +41 +36:13 +472 +11.5 +137 +3.3 +335 +8.2 + ++ +E.Brand,LAC +42 +36:21 +472 +11.2 +182 +4.3 +290 +6.9 + ++5 +B.Wallace,DET +39 +34:13 +454 +11.6 +139 +3.6 +315 +8.1 + ++6 +S.Marion,PHO +41 +36:42 +388 +9.5 +112 +2.7 +276 +6.7 + ++7 +A.Walker,BOS +40 +42:36 +387 +9.7 +93 +2.3 +294 +7.4 + ++8 +J.O`Neal,IND +36 +36:05 +384 +10.7 +98 +2.7 +286 +7.9 + ++9 +S.Abdur-Rahim,ATL +39 +37:26 +382 +9.8 +111 +2.8 +271 +6.9 + ++10 +P.Brown,CHA +39 +31:30 +379 +9.7 +126 +3.2 +253 +6.5 + ++ +D.Nowitzki,DAL +40 +37:49 +379 +9.5 +65 +1.6 +314 +7.9 + ++11 +K.Malone,UTA +41 +38:43 +358 +8.7 +73 +1.8 +285 +7.0 + ++12 +P.Gasol,MEM +40 +36:27 +356 +8.9 +120 +3.0 +236 +5.9 + ++13 +R.Wallace,POR +41 +38:24 +352 +8.6 +90 +2.2 +262 +6.4 + ++14 +A.Davis,TOR +37 +37:24 +349 +9.4 +120 +3.2 +229 +6.2 + ++15 +M.Olowokandi,LAC +41 +28:05 +346 +8.4 +85 +2.1 +261 +6.4 + ++16 +N.Mohammed,ATL +41 +26:36 +338 +8.2 +131 +3.2 +207 +5.0 + ++17 +V.Divac,SAC +39 +32:43 +337 +8.6 +98 +2.5 +239 +6.1 + ++18 +B.Miller,CHI +39 +28:46 +329 +8.4 +141 +3.6 +188 +4.8 + ++19 +J.Foster,IND +43 +24:22 +325 +7.6 +126 +2.9 +199 +4.6 + ++20 +A.Mason,MIL +40 +37:52 +324 +8.1 +67 +1.7 +257 +6.4 + ++21 +K.Thomas,NY +39 +31:10 +322 +8.3 +100 +2.6 +222 +5.7 + ++ +D.Davis,POR +39 +29:49 +322 +8.3 +135 +3.5 +187 +4.8 + ++22 +S.O`Neal,LAL +30 +35:12 +321 +10.7 +110 +3.7 +211 +7.0 + ++23 +K.Clark,TOR +41 +24:04 +315 +7.7 +103 +2.5 +212 +5.2 + ++24 +R.LaFrentz,DEN +41 +31:58 +310 +7.6 +96 +2.3 +214 +5.2 + ++25 +D.Robinson,SAN +39 +28:26 +305 +7.8 +102 +2.6 +203 +5.2 + + January 23, 2002, at 03:38 PM ET +