From: Michael Orlitzky Date: Mon, 23 Jun 2014 19:14:28 +0000 (-0400) Subject: Add SportInfo support for WNBAMinutesXML.dtd. X-Git-Tag: 0.0.6~80 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=0598114020724db23549ed69b349cb5532d6cf96;p=dead%2Fhtsn-import.git Add SportInfo support for WNBAMinutesXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 8eb686d..44e8128 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -358,6 +358,8 @@ WNBAFGPctXML.dtd WNBAFoulsXML.dtd .IP \[bu] WNBAFTPctXML.dtd +.IP \[bu] +WNBAMinutesXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBAMinutesXML.dtd b/schema/WNBAMinutesXML.dtd new file mode 100644 index 0000000..36edf02 --- /dev/null +++ b/schema/WNBAMinutesXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBAMinutesXML/WNBAMinutesXML.xml b/schemagen/WNBAMinutesXML/WNBAMinutesXML.xml new file mode 100644 index 0000000..3dcb6f5 --- /dev/null +++ b/schemagen/WNBAMinutesXML/WNBAMinutesXML.xml @@ -0,0 +1,358 @@ + + + +100117 +ACX%MINUTES-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Minutes Played Leaders ++1 +A.Walker,BOS +40 +1704 +42:36 +916 +22.9 +333 +851 +.391 + ++2 +V.Carter,TOR +41 +1670 +40:43 +1058 +25.8 +401 +923 +.434 + ++3 +G.Payton,SEA +40 +1662 +41:33 +913 +22.8 +376 +797 +.472 + ++4 +B.Davis,CHA +40 +1632 +40:48 +765 +19.1 +292 +677 +.431 + ++5 +P.Pierce,BOS +40 +1627 +40:40 +1083 +27.1 +363 +833 +.436 + ++6 +T.Duncan,SAN +39 +1614 +41:23 +992 +25.4 +351 +703 +.499 + ++7 +K.Malone,UTA +41 +1588 +38:43 +990 +24.1 +354 +766 +.462 + ++8 +S.Marbury,PHO +41 +1576 +38:26 +827 +20.2 +302 +677 +.446 + ++ +S.Nash,DAL +42 +1576 +37:31 +812 +19.3 +293 +592 +.495 + ++9 +R.Wallace,POR +41 +1575 +38:24 +808 +19.7 +324 +718 +.451 + ++10 +K.Garnett,MIN +40 +1569 +39:13 +878 +22.0 +342 +725 +.472 + ++11 +C.Mobley,HOU +38 +1567 +41:14 +738 +19.4 +270 +642 +.421 + ++12 +R.Miller,IND +43 +1565 +36:23 +727 +16.9 +232 +481 +.482 + ++13 +N.Van Exel,DEN +40 +1562 +39:03 +904 +22.6 +348 +853 +.408 + ++14 +L.Sprewell,NY +39 +1558 +39:56 +744 +19.1 +279 +689 +.405 + ++15 +W.Szczerbiak,MIN +40 +1553 +38:49 +788 +19.7 +320 +619 +.517 + ++16 +J.Rose,IND +43 +1543 +35:53 +788 +18.3 +313 +711 +.440 + ++17 +J.Kidd,NJ +41 +1537 +37:29 +581 +14.2 +214 +577 +.371 + ++18 +K.Anderson,BOS +39 +1536 +39:23 +362 +9.3 +151 +356 +.424 + ++ +P.Stojakovic,SAC +39 +1536 +39:23 +888 +22.8 +322 +671 +.480 + ++ +E.Jones,MIA +39 +1536 +39:23 +728 +18.7 +254 +594 +.428 + ++19 +J.McInnis,LAC +42 +1530 +36:25 +569 +13.5 +231 +551 +.419 + ++20 +E.Brand,LAC +42 +1527 +36:21 +778 +18.5 +275 +529 +.520 + ++21 +A.Mason,MIL +40 +1515 +37:52 +326 +8.2 +135 +290 +.466 + ++22 +D.Nowitzki,DAL +40 +1513 +37:49 +977 +24.4 +320 +675 +.474 + ++23 +R.Lewis,SEA +40 +1505 +37:37 +669 +16.7 +256 +554 +.462 + ++ +S.Marion,PHO +41 +1505 +36:42 +748 +18.2 +324 +666 +.486 + ++24 +A.Williams,TOR +42 +1504 +35:48 +496 +11.8 +207 +514 +.403 + ++25 +R.Mercer,CHI +40 +1503 +37:34 +673 +16.8 +286 +717 +.399 + + January 23, 2002, at 03:38 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index bd49ca0..ad33d53 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -207,7 +207,7 @@ dtds = "WNBAFGPctXML.dtd", "WNBAFoulsXML.dtd", "WNBAFTPctXML.dtd", - "WNBAMinutesXML.dtd", -- no dtd + "WNBAMinutesXML.dtd", "WNBAReboundsXML.dtd", -- no dtd "WNBAScorersXML.dtd", -- no dtd "wnbastandxml.dtd", -- no dtd @@ -440,7 +440,8 @@ sport_info_test_files = "WNBABlocksXML.xml", "WNBAFGPctXML.xml", "WNBAFoulsXML.xml", - "WNBAFTPctXML.xml" + "WNBAFTPctXML.xml", + "WNBAMinutesXML.xml" ] diff --git a/test/xml/sportinfo/WNBAMinutesXML.dtd b/test/xml/sportinfo/WNBAMinutesXML.dtd new file mode 100644 index 0000000..36edf02 --- /dev/null +++ b/test/xml/sportinfo/WNBAMinutesXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBAMinutesXML.xml b/test/xml/sportinfo/WNBAMinutesXML.xml new file mode 100644 index 0000000..3dcb6f5 --- /dev/null +++ b/test/xml/sportinfo/WNBAMinutesXML.xml @@ -0,0 +1,358 @@ + + + +100117 +ACX%MINUTES-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Minutes Played Leaders ++1 +A.Walker,BOS +40 +1704 +42:36 +916 +22.9 +333 +851 +.391 + ++2 +V.Carter,TOR +41 +1670 +40:43 +1058 +25.8 +401 +923 +.434 + ++3 +G.Payton,SEA +40 +1662 +41:33 +913 +22.8 +376 +797 +.472 + ++4 +B.Davis,CHA +40 +1632 +40:48 +765 +19.1 +292 +677 +.431 + ++5 +P.Pierce,BOS +40 +1627 +40:40 +1083 +27.1 +363 +833 +.436 + ++6 +T.Duncan,SAN +39 +1614 +41:23 +992 +25.4 +351 +703 +.499 + ++7 +K.Malone,UTA +41 +1588 +38:43 +990 +24.1 +354 +766 +.462 + ++8 +S.Marbury,PHO +41 +1576 +38:26 +827 +20.2 +302 +677 +.446 + ++ +S.Nash,DAL +42 +1576 +37:31 +812 +19.3 +293 +592 +.495 + ++9 +R.Wallace,POR +41 +1575 +38:24 +808 +19.7 +324 +718 +.451 + ++10 +K.Garnett,MIN +40 +1569 +39:13 +878 +22.0 +342 +725 +.472 + ++11 +C.Mobley,HOU +38 +1567 +41:14 +738 +19.4 +270 +642 +.421 + ++12 +R.Miller,IND +43 +1565 +36:23 +727 +16.9 +232 +481 +.482 + ++13 +N.Van Exel,DEN +40 +1562 +39:03 +904 +22.6 +348 +853 +.408 + ++14 +L.Sprewell,NY +39 +1558 +39:56 +744 +19.1 +279 +689 +.405 + ++15 +W.Szczerbiak,MIN +40 +1553 +38:49 +788 +19.7 +320 +619 +.517 + ++16 +J.Rose,IND +43 +1543 +35:53 +788 +18.3 +313 +711 +.440 + ++17 +J.Kidd,NJ +41 +1537 +37:29 +581 +14.2 +214 +577 +.371 + ++18 +K.Anderson,BOS +39 +1536 +39:23 +362 +9.3 +151 +356 +.424 + ++ +P.Stojakovic,SAC +39 +1536 +39:23 +888 +22.8 +322 +671 +.480 + ++ +E.Jones,MIA +39 +1536 +39:23 +728 +18.7 +254 +594 +.428 + ++19 +J.McInnis,LAC +42 +1530 +36:25 +569 +13.5 +231 +551 +.419 + ++20 +E.Brand,LAC +42 +1527 +36:21 +778 +18.5 +275 +529 +.520 + ++21 +A.Mason,MIL +40 +1515 +37:52 +326 +8.2 +135 +290 +.466 + ++22 +D.Nowitzki,DAL +40 +1513 +37:49 +977 +24.4 +320 +675 +.474 + ++23 +R.Lewis,SEA +40 +1505 +37:37 +669 +16.7 +256 +554 +.462 + ++ +S.Marion,PHO +41 +1505 +36:42 +748 +18.2 +324 +666 +.486 + ++24 +A.Williams,TOR +42 +1504 +35:48 +496 +11.8 +207 +514 +.403 + ++25 +R.Mercer,CHI +40 +1503 +37:34 +673 +16.8 +286 +717 +.399 + + January 23, 2002, at 03:38 PM ET +