From: Michael Orlitzky Date: Sun, 22 Jun 2014 23:08:05 +0000 (-0400) Subject: Add SportInfo support for NBAStealsXML.dtd. X-Git-Tag: 0.0.6~111 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4b65b889112c20facd3582f47ececfaa9790e697;p=dead%2Fhtsn-import.git Add SportInfo support for NBAStealsXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index f6f50ae..941c019 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -296,6 +296,8 @@ NBAReboundsXML.dtd NBAScorersXML.dtd .IP \[bu] nbastandxml.dtd +.IP \[bu] +NBAStealsXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NBAStealsXML.dtd b/schema/NBAStealsXML.dtd new file mode 100644 index 0000000..8cc0f38 --- /dev/null +++ b/schema/NBAStealsXML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NBAStealsXML/NBAStealsXML.xml b/schemagen/NBAStealsXML/NBAStealsXML.xml new file mode 100644 index 0000000..0a5b9e7 --- /dev/null +++ b/schemagen/NBAStealsXML/NBAStealsXML.xml @@ -0,0 +1,514 @@ + + + +702217 +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 b98292a..fbca4e0 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -166,7 +166,7 @@ dtds = "NBAReboundsXML.dtd", "NBAScorersXML.dtd", "nbastandxml.dtd", - "NBAStealsXML.dtd", -- no dtd + "NBAStealsXML.dtd", "nbateamleadersxml.dtd", -- no dtd "nbatripledoublexml.dtd", -- no dtd "NBATurnoversXML.dtd", -- no dtd @@ -409,7 +409,8 @@ sport_info_test_files = "NBAMinutesXML.xml", "NBAReboundsXML.xml", "NBAScorersXML.xml", - "nbastandxml.xml" + "nbastandxml.xml", + "NBAStealsXML.xml" ] diff --git a/test/xml/sportinfo/NBAStealsXML.dtd b/test/xml/sportinfo/NBAStealsXML.dtd new file mode 100644 index 0000000..8cc0f38 --- /dev/null +++ b/test/xml/sportinfo/NBAStealsXML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NBAStealsXML.xml b/test/xml/sportinfo/NBAStealsXML.xml new file mode 100644 index 0000000..0a5b9e7 --- /dev/null +++ b/test/xml/sportinfo/NBAStealsXML.xml @@ -0,0 +1,514 @@ + + + +702217 +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 +