From: Michael Orlitzky Date: Mon, 23 Jun 2014 18:38:17 +0000 (-0400) Subject: Add SportInfo support for WNBAAssistsXML.dtd. X-Git-Tag: 0.0.6~85 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d1e3cdc762bc840c9697d0077a88f4f445bcce21;p=dead%2Fhtsn-import.git Add SportInfo support for WNBAAssistsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index b319cca..52edd1e 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -348,6 +348,8 @@ Weekly_Sched_XML.dtd WNBA_Team_Leaders_XML.dtd .IP \[bu] WNBA3PPctXML.dtd +.IP \[bu] +WNBAAssistsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBAAssistsXML.dtd b/schema/WNBAAssistsXML.dtd new file mode 100644 index 0000000..dc7f52c --- /dev/null +++ b/schema/WNBAAssistsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBAAssistsXML/WNBAAssistsXML.xml b/schemagen/WNBAAssistsXML/WNBAAssistsXML.xml new file mode 100644 index 0000000..8fa29ce --- /dev/null +++ b/schemagen/WNBAAssistsXML/WNBAAssistsXML.xml @@ -0,0 +1,346 @@ + + + +170267 +ACX%ASSISTS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Assist Leaders ++1 +J.Kidd,NJ +41 +37:29 +408 +10.0 +140 +3.4 +581 +14.2 + ++2 +A.Miller,CLE +40 +35:06 +400 +10.0 +124 +3.1 +637 +15.9 + ++3 +J.Tinsley,IND +42 +31:20 +377 +9.0 +145 +3.5 +404 +9.6 + ++4 +G.Payton,SEA +40 +41:33 +364 +9.1 +114 +2.9 +913 +22.8 + ++5 +B.Davis,CHA +40 +40:48 +349 +8.7 +122 +3.1 +765 +19.1 + ++6 +S.Marbury,PHO +41 +38:26 +334 +8.1 +146 +3.6 +827 +20.2 + ++7 +S.Nash,DAL +42 +37:31 +332 +7.9 +119 +2.8 +812 +19.3 + ++8 +J.Stockton,UTA +41 +31:24 +327 +8.0 +111 +2.7 +518 +12.6 + ++9 +N.Van Exel,DEN +40 +39:03 +315 +7.9 +100 +2.5 +904 +22.6 + ++10 +J.Williams,MEM +38 +34:33 +298 +7.8 +127 +3.3 +571 +15.0 + ++11 +M.Jackson,NY +39 +29:52 +282 +7.2 +73 +1.9 +309 +7.9 + ++12 +D.Armstrong,ORL +43 +32:33 +248 +5.8 +86 +2.0 +516 +12.0 + ++13 +A.Williams,TOR +42 +35:48 +247 +5.9 +71 +1.7 +496 +11.8 + ++ +S.Cassell,MIL +37 +35:37 +247 +6.7 +101 +2.7 +749 +20.2 + ++14 +D.Stoudamire,POR +34 +36:44 +244 +7.2 +69 +2.0 +463 +13.6 + ++15 +K.Garnett,MIN +40 +39:13 +234 +5.9 +118 +3.0 +878 +22.0 + ++16 +M.Norris,HOU +42 +28:21 +229 +5.5 +78 +1.9 +396 +9.4 + ++17 +K.Bryant,LAL +38 +37:48 +220 +5.8 +103 +2.7 +1004 +26.4 + ++18 +J.McInnis,LAC +42 +36:25 +213 +5.1 +74 +1.8 +569 +13.5 + ++19 +T.Brandon,MIN +24 +31:22 +209 +8.7 +30 +1.3 +316 +13.2 + ++20 +K.Anderson,BOS +39 +39:23 +208 +5.3 +51 +1.3 +362 +9.3 + ++21 +A.Walker,BOS +40 +42:36 +206 +5.2 +129 +3.2 +916 +22.9 + ++22 +A.Johnson,DEN +41 +22:33 +202 +4.9 +51 +1.2 +346 +8.4 + ++23 +B.Barry,SEA +40 +37:10 +201 +5.0 +79 +2.0 +500 +12.5 + ++ +G.Anthony,CHI +35 +27:12 +201 +5.7 +57 +1.6 +299 +8.5 + ++24 +T.McGrady,ORL +40 +37:07 +200 +5.0 +101 +2.5 +987 +24.7 + ++ +L.Hughes,GS +40 +32:07 +200 +5.0 +102 +2.6 +569 +14.2 + ++25 +M.Bibby,SAC +39 +33:21 +199 +5.1 +68 +1.7 +550 +14.1 + + January 23, 2002, at 03:37 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 27a53cf..e7a2f01 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -202,7 +202,7 @@ dtds = "Weekly_Sched_XML.dtd", "WNBA_Team_Leaders_XML.dtd", "WNBA3PPctXML.dtd", - "WNBAAssistsXML.dtd", -- no dtd + "WNBAAssistsXML.dtd", "WNBABlocksXML.dtd", -- no dtd "WNBAFGPctXML.dtd", -- no dtd "WNBAFoulsXML.dtd", -- no dtd @@ -435,7 +435,8 @@ sport_info_test_files = "Transactions_XML.xml", "Weekly_Sched_XML.xml", "WNBA_Team_Leaders_XML.xml", - "WNBA3PPctXML.xml" + "WNBA3PPctXML.xml", + "WNBAAssistsXML.xml" ] diff --git a/test/xml/sportinfo/WNBAAssistsXML.dtd b/test/xml/sportinfo/WNBAAssistsXML.dtd new file mode 100644 index 0000000..dc7f52c --- /dev/null +++ b/test/xml/sportinfo/WNBAAssistsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBAAssistsXML.xml b/test/xml/sportinfo/WNBAAssistsXML.xml new file mode 100644 index 0000000..8fa29ce --- /dev/null +++ b/test/xml/sportinfo/WNBAAssistsXML.xml @@ -0,0 +1,346 @@ + + + +170267 +ACX%ASSISTS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Assist Leaders ++1 +J.Kidd,NJ +41 +37:29 +408 +10.0 +140 +3.4 +581 +14.2 + ++2 +A.Miller,CLE +40 +35:06 +400 +10.0 +124 +3.1 +637 +15.9 + ++3 +J.Tinsley,IND +42 +31:20 +377 +9.0 +145 +3.5 +404 +9.6 + ++4 +G.Payton,SEA +40 +41:33 +364 +9.1 +114 +2.9 +913 +22.8 + ++5 +B.Davis,CHA +40 +40:48 +349 +8.7 +122 +3.1 +765 +19.1 + ++6 +S.Marbury,PHO +41 +38:26 +334 +8.1 +146 +3.6 +827 +20.2 + ++7 +S.Nash,DAL +42 +37:31 +332 +7.9 +119 +2.8 +812 +19.3 + ++8 +J.Stockton,UTA +41 +31:24 +327 +8.0 +111 +2.7 +518 +12.6 + ++9 +N.Van Exel,DEN +40 +39:03 +315 +7.9 +100 +2.5 +904 +22.6 + ++10 +J.Williams,MEM +38 +34:33 +298 +7.8 +127 +3.3 +571 +15.0 + ++11 +M.Jackson,NY +39 +29:52 +282 +7.2 +73 +1.9 +309 +7.9 + ++12 +D.Armstrong,ORL +43 +32:33 +248 +5.8 +86 +2.0 +516 +12.0 + ++13 +A.Williams,TOR +42 +35:48 +247 +5.9 +71 +1.7 +496 +11.8 + ++ +S.Cassell,MIL +37 +35:37 +247 +6.7 +101 +2.7 +749 +20.2 + ++14 +D.Stoudamire,POR +34 +36:44 +244 +7.2 +69 +2.0 +463 +13.6 + ++15 +K.Garnett,MIN +40 +39:13 +234 +5.9 +118 +3.0 +878 +22.0 + ++16 +M.Norris,HOU +42 +28:21 +229 +5.5 +78 +1.9 +396 +9.4 + ++17 +K.Bryant,LAL +38 +37:48 +220 +5.8 +103 +2.7 +1004 +26.4 + ++18 +J.McInnis,LAC +42 +36:25 +213 +5.1 +74 +1.8 +569 +13.5 + ++19 +T.Brandon,MIN +24 +31:22 +209 +8.7 +30 +1.3 +316 +13.2 + ++20 +K.Anderson,BOS +39 +39:23 +208 +5.3 +51 +1.3 +362 +9.3 + ++21 +A.Walker,BOS +40 +42:36 +206 +5.2 +129 +3.2 +916 +22.9 + ++22 +A.Johnson,DEN +41 +22:33 +202 +4.9 +51 +1.2 +346 +8.4 + ++23 +B.Barry,SEA +40 +37:10 +201 +5.0 +79 +2.0 +500 +12.5 + ++ +G.Anthony,CHI +35 +27:12 +201 +5.7 +57 +1.6 +299 +8.5 + ++24 +T.McGrady,ORL +40 +37:07 +200 +5.0 +101 +2.5 +987 +24.7 + ++ +L.Hughes,GS +40 +32:07 +200 +5.0 +102 +2.6 +569 +14.2 + ++25 +M.Bibby,SAC +39 +33:21 +199 +5.1 +68 +1.7 +550 +14.1 + + January 23, 2002, at 03:37 PM ET +