From: Michael Orlitzky Date: Mon, 23 Jun 2014 18:33:02 +0000 (-0400) Subject: Add SportInfo support for WNBA3PPctXML.dtd. X-Git-Tag: 0.0.6~86 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a9302dc3e450cd5a766c395c74a6b8ee1d59e925;p=dead%2Fhtsn-import.git Add SportInfo support for WNBA3PPctXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 3c3978d..b319cca 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -346,6 +346,8 @@ Transactions_XML.dtd Weekly_Sched_XML.dtd .IP \[bu] WNBA_Team_Leaders_XML.dtd +.IP \[bu] +WNBA3PPctXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBA3PPctXML.dtd b/schema/WNBA3PPctXML.dtd new file mode 100644 index 0000000..8dbf36f --- /dev/null +++ b/schema/WNBA3PPctXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBA3PPctXML/WNBA3PPctXML.xml b/schemagen/WNBA3PPctXML/WNBA3PPctXML.xml new file mode 100644 index 0000000..c55c1a6 --- /dev/null +++ b/schemagen/WNBA3PPctXML/WNBA3PPctXML.xml @@ -0,0 +1,335 @@ + + + +721017 +ACX%3PTFG-PCT-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Three Point Percentage Leaders ++1 +Steve Smith,SAN +39 +29:55 +70 +1.8 +134 +3.4 +490 +12.6 +.522 + ++2 +Wesley Person,CLE +40 +34:49 +72 +1.8 +150 +3.8 +538 +13.5 +.480 + ++3 +Hubert Davis,WAS +31 +29:23 +47 +1.5 +100 +3.2 +282 +9.1 +.470 + ++4 +Jon Barry,DET +39 +23:38 +53 +1.4 +117 +3.0 +303 +7.8 +.453 + ++5 +Ray Allen,MIL +33 +36:00 +111 +3.4 +246 +7.5 +744 +22.5 +.451 + ++6 +Eric Piatkowski,LAC +31 +23:00 +41 +1.3 +91 +2.9 +242 +7.8 +.451 + ++7 +Vladimir Radmanovic,SEA +34 +17:31 +36 +1.1 +80 +2.4 +198 +5.8 +.450 + ++8 +Wally Szczerbiak,MIN +40 +38:49 +39 +1.0 +87 +2.2 +788 +19.7 +.448 + ++9 +Michael Redd,MIL +37 +21:21 +43 +1.2 +96 +2.6 +406 +11.0 +.448 + ++10 +Predrag Stojakovic,SAC +39 +39:23 +78 +2.0 +176 +4.5 +888 +22.8 +.443 + ++11 +Steve Nash,DAL +42 +37:31 +83 +2.0 +189 +4.5 +812 +19.3 +.439 + ++12 +Reggie Miller,IND +43 +36:23 +101 +2.3 +230 +5.3 +727 +16.9 +.439 + ++13 +Terry Porter,SAN +39 +19:26 +38 +1.0 +89 +2.3 +256 +6.6 +.427 + ++14 +Chauncey Billups,MIN +40 +24:51 +61 +1.5 +143 +3.6 +448 +11.2 +.427 + ++15 +Cuttino Mobley,HOU +38 +41:14 +78 +2.1 +183 +4.8 +738 +19.4 +.426 + ++16 +Mark Jackson,NY +39 +29:52 +32 +0.8 +76 +1.9 +309 +7.9 +.421 + ++17 +Aaron McKie,PHI +33 +33:21 +44 +1.3 +105 +3.2 +425 +12.9 +.419 + ++18 +Chucky Atkins,DET +36 +27:20 +60 +1.7 +144 +4.0 +374 +10.4 +.417 + ++19 +Allan Houston,NY +39 +37:10 +59 +1.5 +142 +3.6 +789 +20.2 +.415 + ++20 +Anthony Peeler,MIN +40 +26:28 +56 +1.4 +135 +3.4 +368 +9.2 +.415 + ++21 +Raef LaFrentz,DEN +41 +31:58 +48 +1.2 +116 +2.8 +561 +13.7 +.414 + ++22 +Brent Barry,SEA +40 +37:10 +77 +1.9 +188 +4.7 +500 +12.5 +.410 + ++23 +Derek Fisher,LAL +26 +27:13 +55 +2.1 +135 +5.2 +273 +10.5 +.407 + ++24 +Chris Whitney,WAS +39 +25:55 +57 +1.5 +140 +3.6 +353 +9.1 +.407 + ++25 +Paul Pierce,BOS +40 +40:40 +107 +2.7 +263 +6.6 +1083 +27.1 +.407 + + January 23, 2002, at 03:37 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 57bc2ec..27a53cf 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -201,7 +201,7 @@ dtds = "Transactions_XML.dtd", "Weekly_Sched_XML.dtd", "WNBA_Team_Leaders_XML.dtd", - "WNBA3PPctXML.dtd", -- no dtd + "WNBA3PPctXML.dtd", "WNBAAssistsXML.dtd", -- no dtd "WNBABlocksXML.dtd", -- no dtd "WNBAFGPctXML.dtd", -- no dtd @@ -434,7 +434,8 @@ sport_info_test_files = "NFL_Team_Stats_XML.xml", "Transactions_XML.xml", "Weekly_Sched_XML.xml", - "WNBA_Team_Leaders_XML.xml" + "WNBA_Team_Leaders_XML.xml", + "WNBA3PPctXML.xml" ] diff --git a/test/xml/sportinfo/WNBA3PPctXML.dtd b/test/xml/sportinfo/WNBA3PPctXML.dtd new file mode 100644 index 0000000..8dbf36f --- /dev/null +++ b/test/xml/sportinfo/WNBA3PPctXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBA3PPctXML.xml b/test/xml/sportinfo/WNBA3PPctXML.xml new file mode 100644 index 0000000..c55c1a6 --- /dev/null +++ b/test/xml/sportinfo/WNBA3PPctXML.xml @@ -0,0 +1,335 @@ + + + +721017 +ACX%3PTFG-PCT-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Three Point Percentage Leaders ++1 +Steve Smith,SAN +39 +29:55 +70 +1.8 +134 +3.4 +490 +12.6 +.522 + ++2 +Wesley Person,CLE +40 +34:49 +72 +1.8 +150 +3.8 +538 +13.5 +.480 + ++3 +Hubert Davis,WAS +31 +29:23 +47 +1.5 +100 +3.2 +282 +9.1 +.470 + ++4 +Jon Barry,DET +39 +23:38 +53 +1.4 +117 +3.0 +303 +7.8 +.453 + ++5 +Ray Allen,MIL +33 +36:00 +111 +3.4 +246 +7.5 +744 +22.5 +.451 + ++6 +Eric Piatkowski,LAC +31 +23:00 +41 +1.3 +91 +2.9 +242 +7.8 +.451 + ++7 +Vladimir Radmanovic,SEA +34 +17:31 +36 +1.1 +80 +2.4 +198 +5.8 +.450 + ++8 +Wally Szczerbiak,MIN +40 +38:49 +39 +1.0 +87 +2.2 +788 +19.7 +.448 + ++9 +Michael Redd,MIL +37 +21:21 +43 +1.2 +96 +2.6 +406 +11.0 +.448 + ++10 +Predrag Stojakovic,SAC +39 +39:23 +78 +2.0 +176 +4.5 +888 +22.8 +.443 + ++11 +Steve Nash,DAL +42 +37:31 +83 +2.0 +189 +4.5 +812 +19.3 +.439 + ++12 +Reggie Miller,IND +43 +36:23 +101 +2.3 +230 +5.3 +727 +16.9 +.439 + ++13 +Terry Porter,SAN +39 +19:26 +38 +1.0 +89 +2.3 +256 +6.6 +.427 + ++14 +Chauncey Billups,MIN +40 +24:51 +61 +1.5 +143 +3.6 +448 +11.2 +.427 + ++15 +Cuttino Mobley,HOU +38 +41:14 +78 +2.1 +183 +4.8 +738 +19.4 +.426 + ++16 +Mark Jackson,NY +39 +29:52 +32 +0.8 +76 +1.9 +309 +7.9 +.421 + ++17 +Aaron McKie,PHI +33 +33:21 +44 +1.3 +105 +3.2 +425 +12.9 +.419 + ++18 +Chucky Atkins,DET +36 +27:20 +60 +1.7 +144 +4.0 +374 +10.4 +.417 + ++19 +Allan Houston,NY +39 +37:10 +59 +1.5 +142 +3.6 +789 +20.2 +.415 + ++20 +Anthony Peeler,MIN +40 +26:28 +56 +1.4 +135 +3.4 +368 +9.2 +.415 + ++21 +Raef LaFrentz,DEN +41 +31:58 +48 +1.2 +116 +2.8 +561 +13.7 +.414 + ++22 +Brent Barry,SEA +40 +37:10 +77 +1.9 +188 +4.7 +500 +12.5 +.410 + ++23 +Derek Fisher,LAL +26 +27:13 +55 +2.1 +135 +5.2 +273 +10.5 +.407 + ++24 +Chris Whitney,WAS +39 +25:55 +57 +1.5 +140 +3.6 +353 +9.1 +.407 + ++25 +Paul Pierce,BOS +40 +40:40 +107 +2.7 +263 +6.6 +1083 +27.1 +.407 + + January 23, 2002, at 03:37 PM ET +