From: Michael Orlitzky Date: Mon, 23 Jun 2014 19:02:28 +0000 (-0400) Subject: Add SportInfo support for WNBAFGPctXML.dtd. X-Git-Tag: 0.0.6~83 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=30fcf2cc013bf247fcd6ba3548ee6c1c6140affa;p=dead%2Fhtsn-import.git Add SportInfo support for WNBAFGPctXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index c3a721c..a9ec7c3 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -352,6 +352,8 @@ WNBA3PPctXML.dtd WNBAAssistsXML.dtd .IP \[bu] WNBABlocksXML.dtd +.IP \[bu] +WNBAFGPctXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBAFGPctXML.dtd b/schema/WNBAFGPctXML.dtd new file mode 100644 index 0000000..56d928c --- /dev/null +++ b/schema/WNBAFGPctXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/schemagen/WNBAFGPctXML/WNBAFGPctXML.xml b/schemagen/WNBAFGPctXML/WNBAFGPctXML.xml new file mode 100644 index 0000000..e596724 --- /dev/null +++ b/schemagen/WNBAFGPctXML/WNBAFGPctXML.xml @@ -0,0 +1,335 @@ + + + +79217 +ACX%FG-PCT-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Field Goal Percentage Leaders ++1 +Shaquille O`Neal,LAL +30 +35:12 +313 +10.4 +557 +18.6 +782 +26.1 +.562 + ++2 +Donyell Marshall,UTA +34 +32:52 +223 +6.6 +400 +11.8 +558 +16.4 +.558 + ++3 +Alonzo Mourning,MIA +35 +32:18 +207 +5.9 +393 +11.2 +537 +15.3 +.527 + ++4 +Elton Brand,LAC +42 +36:21 +275 +6.5 +529 +12.6 +778 +18.5 +.520 + ++5 +Wally Szczerbiak,MIN +40 +38:49 +320 +8.0 +619 +15.5 +788 +19.7 +.517 + ++6 +Corliss Williamson,DET +35 +21:08 +176 +5.0 +342 +9.8 +443 +12.7 +.515 + ++7 +Pau Gasol,MEM +40 +36:27 +261 +6.5 +508 +12.7 +669 +16.7 +.514 + ++8 +Vin Baker,SEA +32 +34:13 +218 +6.8 +432 +13.5 +535 +16.7 +.505 + ++9 +Tim Duncan,SAN +39 +41:23 +351 +9.0 +703 +18.0 +992 +25.4 +.499 + ++10 +John Stockton,UTA +41 +31:24 +189 +4.6 +379 +9.2 +518 +12.6 +.499 + ++11 +Steve Nash,DAL +42 +37:31 +293 +7.0 +592 +14.1 +812 +19.3 +.495 + ++12 +Elden Campbell,CHA +40 +30:07 +217 +5.4 +442 +11.1 +598 +15.0 +.491 + ++13 +Wesley Person,CLE +40 +34:49 +211 +5.3 +430 +10.8 +538 +13.5 +.491 + ++14 +Jermaine O`Neal,IND +36 +36:05 +263 +7.3 +536 +14.9 +657 +18.3 +.491 + ++15 +Bonzi Wells,POR +34 +32:21 +235 +6.9 +479 +14.1 +576 +16.9 +.491 + ++16 +Lee Nailon,CHA +40 +26:07 +207 +5.2 +425 +10.6 +478 +12.0 +.487 + ++17 +Shawn Marion,PHO +41 +36:42 +324 +7.9 +666 +16.2 +748 +18.2 +.486 + ++18 +Reggie Miller,IND +43 +36:23 +232 +5.4 +481 +11.2 +727 +16.9 +.482 + ++19 +Steve Smith,SAN +39 +29:55 +175 +4.5 +363 +9.3 +490 +12.6 +.482 + ++20 +Kobe Bryant,LAL +38 +37:48 +373 +9.8 +776 +20.4 +1004 +26.4 +.481 + ++21 +Predrag Stojakovic,SAC +39 +39:23 +322 +8.3 +671 +17.2 +888 +22.8 +.480 + ++22 +Al Harrington,IND +43 +29:48 +227 +5.3 +474 +11.0 +569 +13.2 +.479 + ++23 +Glenn Robinson,MIL +26 +36:13 +221 +8.5 +463 +17.8 +567 +21.8 +.477 + ++24 +Ray Allen,MIL +33 +36:00 +260 +7.9 +547 +16.6 +744 +22.5 +.475 + ++25 +Kenny Thomas,HOU +35 +33:06 +186 +5.3 +392 +11.2 +462 +13.2 +.474 + + January 23, 2002, at 03:36 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index e71a7ae..19704a4 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -204,7 +204,7 @@ dtds = "WNBA3PPctXML.dtd", "WNBAAssistsXML.dtd", "WNBABlocksXML.dtd", - "WNBAFGPctXML.dtd", -- no dtd + "WNBAFGPctXML.dtd", "WNBAFoulsXML.dtd", -- no dtd "WNBAFTPctXML.dtd", -- no dtd "WNBAMinutesXML.dtd", -- no dtd @@ -437,7 +437,8 @@ sport_info_test_files = "WNBA_Team_Leaders_XML.xml", "WNBA3PPctXML.xml", "WNBAAssistsXML.xml", - "WNBABlocksXML.xml" + "WNBABlocksXML.xml", + "WNBAFGPctXML.xml" ] diff --git a/test/xml/sportinfo/WNBAFGPctXML.dtd b/test/xml/sportinfo/WNBAFGPctXML.dtd new file mode 100644 index 0000000..56d928c --- /dev/null +++ b/test/xml/sportinfo/WNBAFGPctXML.dtd @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/xml/sportinfo/WNBAFGPctXML.xml b/test/xml/sportinfo/WNBAFGPctXML.xml new file mode 100644 index 0000000..e596724 --- /dev/null +++ b/test/xml/sportinfo/WNBAFGPctXML.xml @@ -0,0 +1,335 @@ + + + +79217 +ACX%FG-PCT-LEADERS +Statistics +NBA +2001-2002 NBA Top 25 Field Goal Percentage Leaders ++1 +Shaquille O`Neal,LAL +30 +35:12 +313 +10.4 +557 +18.6 +782 +26.1 +.562 + ++2 +Donyell Marshall,UTA +34 +32:52 +223 +6.6 +400 +11.8 +558 +16.4 +.558 + ++3 +Alonzo Mourning,MIA +35 +32:18 +207 +5.9 +393 +11.2 +537 +15.3 +.527 + ++4 +Elton Brand,LAC +42 +36:21 +275 +6.5 +529 +12.6 +778 +18.5 +.520 + ++5 +Wally Szczerbiak,MIN +40 +38:49 +320 +8.0 +619 +15.5 +788 +19.7 +.517 + ++6 +Corliss Williamson,DET +35 +21:08 +176 +5.0 +342 +9.8 +443 +12.7 +.515 + ++7 +Pau Gasol,MEM +40 +36:27 +261 +6.5 +508 +12.7 +669 +16.7 +.514 + ++8 +Vin Baker,SEA +32 +34:13 +218 +6.8 +432 +13.5 +535 +16.7 +.505 + ++9 +Tim Duncan,SAN +39 +41:23 +351 +9.0 +703 +18.0 +992 +25.4 +.499 + ++10 +John Stockton,UTA +41 +31:24 +189 +4.6 +379 +9.2 +518 +12.6 +.499 + ++11 +Steve Nash,DAL +42 +37:31 +293 +7.0 +592 +14.1 +812 +19.3 +.495 + ++12 +Elden Campbell,CHA +40 +30:07 +217 +5.4 +442 +11.1 +598 +15.0 +.491 + ++13 +Wesley Person,CLE +40 +34:49 +211 +5.3 +430 +10.8 +538 +13.5 +.491 + ++14 +Jermaine O`Neal,IND +36 +36:05 +263 +7.3 +536 +14.9 +657 +18.3 +.491 + ++15 +Bonzi Wells,POR +34 +32:21 +235 +6.9 +479 +14.1 +576 +16.9 +.491 + ++16 +Lee Nailon,CHA +40 +26:07 +207 +5.2 +425 +10.6 +478 +12.0 +.487 + ++17 +Shawn Marion,PHO +41 +36:42 +324 +7.9 +666 +16.2 +748 +18.2 +.486 + ++18 +Reggie Miller,IND +43 +36:23 +232 +5.4 +481 +11.2 +727 +16.9 +.482 + ++19 +Steve Smith,SAN +39 +29:55 +175 +4.5 +363 +9.3 +490 +12.6 +.482 + ++20 +Kobe Bryant,LAL +38 +37:48 +373 +9.8 +776 +20.4 +1004 +26.4 +.481 + ++21 +Predrag Stojakovic,SAC +39 +39:23 +322 +8.3 +671 +17.2 +888 +22.8 +.480 + ++22 +Al Harrington,IND +43 +29:48 +227 +5.3 +474 +11.0 +569 +13.2 +.479 + ++23 +Glenn Robinson,MIL +26 +36:13 +221 +8.5 +463 +17.8 +567 +21.8 +.477 + ++24 +Ray Allen,MIL +33 +36:00 +260 +7.9 +547 +16.6 +744 +22.5 +.475 + ++25 +Kenny Thomas,HOU +35 +33:06 +186 +5.3 +392 +11.2 +462 +13.2 +.474 + + January 23, 2002, at 03:36 PM ET +