From: Michael Orlitzky Date: Mon, 23 Jun 2014 19:34:49 +0000 (-0400) Subject: Add SportInfo support for WNBAStealsXML.dtd. X-Git-Tag: 0.0.6~76 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=098b56a8fefdcca481d10b9a693bd5e6dd83abdc;p=dead%2Fhtsn-import.git Add SportInfo support for WNBAStealsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 044debd..9a811e3 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -366,6 +366,8 @@ WNBAReboundsXML.dtd WNBAScorersXML.dtd .IP \[bu] wnbastandxml.dtd +.IP \[bu] +WNBAStealsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBAStealsXML.dtd b/schema/WNBAStealsXML.dtd new file mode 100644 index 0000000..a407c4e --- /dev/null +++ b/schema/WNBAStealsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBAStealsXML/WNBAStealsXML.xml b/schemagen/WNBAStealsXML/WNBAStealsXML.xml new file mode 100644 index 0000000..0a756fe --- /dev/null +++ b/schemagen/WNBAStealsXML/WNBAStealsXML.xml @@ -0,0 +1,514 @@ + + + +917 +ACX%STEALS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Steals Leaders ++1 +A.Iverson,PHI +34 +43:35 +84 +2.5 +63 +1.9 +1016 +29.9 + ++2 +J.Kidd,NJ +41 +37:29 +82 +2.0 +72 +1.8 +581 +14.2 + ++3 +L.Hughes,GS +40 +32:07 +80 +2.0 +91 +2.3 +569 +14.2 + ++4 +J.Tinsley,IND +42 +31:20 +77 +1.8 +138 +3.3 +404 +9.6 + ++ +D.Armstrong,ORL +43 +32:33 +77 +1.8 +87 +2.0 +516 +12.0 + ++5 +A.Hardaway,PHO +41 +36:21 +76 +1.9 +108 +2.6 +609 +14.9 + ++6 +K.Kittles,NJ +41 +31:42 +75 +1.8 +50 +1.2 +524 +12.8 + ++ +K.Malone,UTA +41 +38:43 +75 +1.8 +115 +2.8 +990 +24.1 + ++7 +J.Williams,MEM +38 +34:33 +74 +1.9 +59 +1.6 +571 +15.0 + ++ +P.Pierce,BOS +40 +40:40 +74 +1.9 +126 +3.2 +1083 +27.1 + ++8 +S.Marion,PHO +41 +36:42 +73 +1.8 +111 +2.7 +748 +18.2 + ++9 +J.Terry,ATL +38 +36:55 +72 +1.9 +82 +2.2 +710 +18.7 + ++ +B.Davis,CHA +40 +40:48 +72 +1.8 +111 +2.8 +765 +19.1 + ++10 +D.Christie,SAC +40 +34:36 +71 +1.8 +112 +2.8 +534 +13.4 + ++ +J.Stockton,UTA +41 +31:24 +71 +1.7 +97 +2.4 +518 +12.6 + ++11 +K.Anderson,BOS +39 +39:23 +69 +1.8 +101 +2.6 +362 +9.3 + ++12 +V.Carter,TOR +41 +40:43 +67 +1.6 +124 +3.0 +1058 +25.8 + ++13 +B.Wallace,DET +39 +34:13 +66 +1.7 +92 +2.4 +277 +7.1 + ++14 +K.Bryant,LAL +38 +37:48 +64 +1.7 +101 +2.7 +1004 +26.4 + ++15 +B.Barry,SEA +40 +37:10 +63 +1.6 +84 +2.1 +500 +12.5 + ++ +G.Payton,SEA +40 +41:33 +63 +1.6 +85 +2.1 +913 +22.8 + ++16 +A.Williams,TOR +42 +35:48 +62 +1.5 +86 +2.0 +496 +11.8 + ++17 +S.Cassell,MIL +37 +35:37 +59 +1.6 +102 +2.8 +749 +20.2 + ++ +B.Knight,MEM +38 +19:06 +59 +1.6 +95 +2.5 +217 +5.7 + ++ +S.Battier,MEM +38 +39:07 +59 +1.6 +101 +2.7 +552 +14.5 + ++ +A.Miller,CLE +40 +35:06 +59 +1.5 +106 +2.7 +637 +15.9 + ++18 +M.Jordan,WAS +38 +36:07 +58 +1.5 +85 +2.2 +917 +24.1 + ++19 +R.Lewis,SEA +40 +37:37 +57 +1.4 +95 +2.4 +669 +16.7 + ++ +A.Kirilenko,UTA +41 +23:33 +57 +1.4 +81 +2.0 +391 +9.5 + ++20 +J.Posey,DEN +41 +33:35 +56 +1.4 +139 +3.4 +468 +11.4 + ++21 +E.Jones,MIA +39 +39:23 +53 +1.4 +120 +3.1 +728 +18.7 + ++22 +K.Martin,NJ +38 +35:06 +51 +1.3 +145 +3.8 +582 +15.3 + ++23 +H.Olajuwon,TOR +33 +26:34 +50 +1.5 +87 +2.6 +271 +8.2 + ++ +C.Mobley,HOU +38 +41:14 +50 +1.3 +96 +2.5 +738 +19.4 + ++ +J.Richardson,GS +40 +28:46 +50 +1.3 +86 +2.2 +448 +11.2 + ++ +A.Walker,BOS +40 +42:36 +50 +1.3 +112 +2.8 +916 +22.9 + ++24 +T.McGrady,ORL +40 +37:07 +49 +1.2 +78 +2.0 +987 +24.7 + ++ +R.Wallace,POR +41 +38:24 +49 +1.2 +111 +2.7 +808 +19.7 + ++25 +G.Robinson,MIL +26 +36:13 +48 +1.8 +59 +2.3 +567 +21.8 + ++ +A.McKie,PHI +33 +33:21 +48 +1.5 +53 +1.6 +425 +12.9 + ++ +R.Allen,MIL +33 +36:00 +48 +1.5 +83 +2.5 +744 +22.5 + ++ +B.Miller,CHI +39 +28:46 +48 +1.2 +126 +3.2 +474 +12.2 + + January 23, 2002, at 03:38 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 2cba4d2..22176a2 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -211,7 +211,7 @@ dtds = "WNBAReboundsXML.dtd", "WNBAScorersXML.dtd", "wnbastandxml.dtd", - "WNBAStealsXML.dtd", -- no dtd + "WNBAStealsXML.dtd", "WNBATurnoversXML.dtd" -- no dtd ] @@ -444,7 +444,8 @@ sport_info_test_files = "WNBAMinutesXML.xml", "WNBAReboundsXML.xml", "WNBAScorersXML.xml", - "wnbastandxml.xml" + "wnbastandxml.xml", + "WNBAStealsXML.xml" ] diff --git a/test/xml/sportinfo/WNBAStealsXML.dtd b/test/xml/sportinfo/WNBAStealsXML.dtd new file mode 100644 index 0000000..a407c4e --- /dev/null +++ b/test/xml/sportinfo/WNBAStealsXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBAStealsXML.xml b/test/xml/sportinfo/WNBAStealsXML.xml new file mode 100644 index 0000000..0a756fe --- /dev/null +++ b/test/xml/sportinfo/WNBAStealsXML.xml @@ -0,0 +1,514 @@ + + + +917 +ACX%STEALS-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Steals Leaders ++1 +A.Iverson,PHI +34 +43:35 +84 +2.5 +63 +1.9 +1016 +29.9 + ++2 +J.Kidd,NJ +41 +37:29 +82 +2.0 +72 +1.8 +581 +14.2 + ++3 +L.Hughes,GS +40 +32:07 +80 +2.0 +91 +2.3 +569 +14.2 + ++4 +J.Tinsley,IND +42 +31:20 +77 +1.8 +138 +3.3 +404 +9.6 + ++ +D.Armstrong,ORL +43 +32:33 +77 +1.8 +87 +2.0 +516 +12.0 + ++5 +A.Hardaway,PHO +41 +36:21 +76 +1.9 +108 +2.6 +609 +14.9 + ++6 +K.Kittles,NJ +41 +31:42 +75 +1.8 +50 +1.2 +524 +12.8 + ++ +K.Malone,UTA +41 +38:43 +75 +1.8 +115 +2.8 +990 +24.1 + ++7 +J.Williams,MEM +38 +34:33 +74 +1.9 +59 +1.6 +571 +15.0 + ++ +P.Pierce,BOS +40 +40:40 +74 +1.9 +126 +3.2 +1083 +27.1 + ++8 +S.Marion,PHO +41 +36:42 +73 +1.8 +111 +2.7 +748 +18.2 + ++9 +J.Terry,ATL +38 +36:55 +72 +1.9 +82 +2.2 +710 +18.7 + ++ +B.Davis,CHA +40 +40:48 +72 +1.8 +111 +2.8 +765 +19.1 + ++10 +D.Christie,SAC +40 +34:36 +71 +1.8 +112 +2.8 +534 +13.4 + ++ +J.Stockton,UTA +41 +31:24 +71 +1.7 +97 +2.4 +518 +12.6 + ++11 +K.Anderson,BOS +39 +39:23 +69 +1.8 +101 +2.6 +362 +9.3 + ++12 +V.Carter,TOR +41 +40:43 +67 +1.6 +124 +3.0 +1058 +25.8 + ++13 +B.Wallace,DET +39 +34:13 +66 +1.7 +92 +2.4 +277 +7.1 + ++14 +K.Bryant,LAL +38 +37:48 +64 +1.7 +101 +2.7 +1004 +26.4 + ++15 +B.Barry,SEA +40 +37:10 +63 +1.6 +84 +2.1 +500 +12.5 + ++ +G.Payton,SEA +40 +41:33 +63 +1.6 +85 +2.1 +913 +22.8 + ++16 +A.Williams,TOR +42 +35:48 +62 +1.5 +86 +2.0 +496 +11.8 + ++17 +S.Cassell,MIL +37 +35:37 +59 +1.6 +102 +2.8 +749 +20.2 + ++ +B.Knight,MEM +38 +19:06 +59 +1.6 +95 +2.5 +217 +5.7 + ++ +S.Battier,MEM +38 +39:07 +59 +1.6 +101 +2.7 +552 +14.5 + ++ +A.Miller,CLE +40 +35:06 +59 +1.5 +106 +2.7 +637 +15.9 + ++18 +M.Jordan,WAS +38 +36:07 +58 +1.5 +85 +2.2 +917 +24.1 + ++19 +R.Lewis,SEA +40 +37:37 +57 +1.4 +95 +2.4 +669 +16.7 + ++ +A.Kirilenko,UTA +41 +23:33 +57 +1.4 +81 +2.0 +391 +9.5 + ++20 +J.Posey,DEN +41 +33:35 +56 +1.4 +139 +3.4 +468 +11.4 + ++21 +E.Jones,MIA +39 +39:23 +53 +1.4 +120 +3.1 +728 +18.7 + ++22 +K.Martin,NJ +38 +35:06 +51 +1.3 +145 +3.8 +582 +15.3 + ++23 +H.Olajuwon,TOR +33 +26:34 +50 +1.5 +87 +2.6 +271 +8.2 + ++ +C.Mobley,HOU +38 +41:14 +50 +1.3 +96 +2.5 +738 +19.4 + ++ +J.Richardson,GS +40 +28:46 +50 +1.3 +86 +2.2 +448 +11.2 + ++ +A.Walker,BOS +40 +42:36 +50 +1.3 +112 +2.8 +916 +22.9 + ++24 +T.McGrady,ORL +40 +37:07 +49 +1.2 +78 +2.0 +987 +24.7 + ++ +R.Wallace,POR +41 +38:24 +49 +1.2 +111 +2.7 +808 +19.7 + ++25 +G.Robinson,MIL +26 +36:13 +48 +1.8 +59 +2.3 +567 +21.8 + ++ +A.McKie,PHI +33 +33:21 +48 +1.5 +53 +1.6 +425 +12.9 + ++ +R.Allen,MIL +33 +36:00 +48 +1.5 +83 +2.5 +744 +22.5 + ++ +B.Miller,CHI +39 +28:46 +48 +1.2 +126 +3.2 +474 +12.2 + + January 23, 2002, at 03:38 PM ET +