From: Michael Orlitzky Date: Sun, 22 Jun 2014 21:16:38 +0000 (-0400) Subject: Add SportInfo support for nbaconfrecxml.dtd. X-Git-Tag: 0.0.6~121 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=04dc38e5e65163519249731e8b1c4e50b8786ad3;p=dead%2Fhtsn-import.git Add SportInfo support for nbaconfrecxml.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 974c375..4e5ed6a 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -276,6 +276,8 @@ NBA3PPctXML.dtd NBAAssistsXML.dtd .IP \[bu] NBABlocksXML.dtd +.IP \[bu] +nbaconfrecxml.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/nbaconfrecxml.dtd b/schema/nbaconfrecxml.dtd new file mode 100644 index 0000000..1ce438c --- /dev/null +++ b/schema/nbaconfrecxml.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/nbaconfrecxml/nbaconfrecxml.xml b/schemagen/nbaconfrecxml/nbaconfrecxml.xml new file mode 100644 index 0000000..862ab17 --- /dev/null +++ b/schemagen/nbaconfrecxml/nbaconfrecxml.xml @@ -0,0 +1,275 @@ + + + +901739717 +ACX%NBAEAST-VS-WEST +Statistics +NBA +NBA Statistics - Versus Eastern and Western Conference + ++Atlanta Hawks +27-18 +20-34 +10-16 +4-1 +8-20 +4-7 + ++Boston Celtics +16-28 +24-30 +10-18 +3-3 +11-17 +4-6 + ++Charlotte Hornets +23-21 +36-18 +17-9 +3-3 +13-15 +6-8 + ++Chicago Bulls +11-33 +13-41 +5-18 +2-4 +4-24 +1-13 + ++Cleveland Cavaliers +18-26 +20-34 +13-13 +4-2 +12-16 +5-6 + ++Detroit Pistons +25-19 +30-24 +9-12 +4-2 +12-16 +5-12 + ++Indiana Pacers +30-15 +36-18 +12-9 +3-2 +20-8 +6-12 + ++Miami Heat +30-15 +34-20 +15-10 +3-2 +18-10 +8-7 + ++Milwaukee Bucks +25-20 +28-26 +19-7 +3-2 +14-14 +4-8 + ++New Jersey Nets +14-30 +21-33 +7-19 +2-4 +10-18 +5-7 + ++New York Knicks +24-21 +32-22 +14-8 +3-2 +18-10 +10-5 + ++Orlando Magic +30-14 +27-27 +12-12 +3-3 +14-14 +5-8 + ++Philadelphia 76ers +25-19 +36-18 +20-2 +3-3 +13-15 +8-7 + ++Toronto Raptors +19-26 +29-25 +14-7 +4-1 +16-12 +5-12 + ++Washington Wizards +16-28 +19-35 +5-22 +2-4 +10-18 +2-10 + + + ++Dallas Mavericks +3-3 +12-18 +12-4 +16-28 +28-24 +12-12 + ++Denver Nuggets +2-4 +13-17 +5-6 +12-32 +22-30 +17-10 + ++Golden State Warriors +3-3 +10-20 +4-11 +18-26 +9-43 +7-15 + ++Houston Rockets +3-3 +11-19 +10-1 +28-16 +23-29 +9-18 + ++Los Angeles Clippers +1-5 +7-23 +5-12 +8-36 +8-44 +8-16 + ++Los Angeles Lakers +3-3 +27-3 +7-1 +28-16 +40-12 +18-11 + ++Minnesota Timberwolves +3-3 +18-12 +11-7 +22-22 +32-20 +10-11 + ++Phoenix Suns +1-5 +23-7 +8-3 +26-18 +30-22 +14-10 + ++Portland Trail Blazers +5-1 +21-9 +19-4 +30-14 +38-14 +10-7 + ++Sacramento Kings +4-2 +19-11 +10-5 +23-21 +25-27 +15-5 + ++San Antonio Spurs +4-2 +20-10 +10-5 +33-11 +33-19 +13-8 + ++Seattle SuperSonics +2-4 +14-16 +8-8 +23-21 +31-21 +13-11 + ++Utah Jazz +4-2 +22-8 +12-6 +33-11 +33-19 +12-7 + ++Vancouver Grizzlies +0-6 +10-20 +7-5 +8-36 +12-40 +4-21 + + + January 17, 2001, at 01:40 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 132dcef..f54e09a 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -156,7 +156,7 @@ dtds = "NBA3PPctXML.dtd", "NBAAssistsXML.dtd", "NBABlocksXML.dtd", - "nbaconfrecxml.dtd", -- no dtd + "nbaconfrecxml.dtd", "nbadaysxml.dtd", -- no dtd "nbadivisionsxml.dtd", -- no dtd "NBAFGPctXML.dtd", -- no dtd @@ -399,7 +399,8 @@ sport_info_test_files = "NBA_Team_Stats_XML.xml", "NBA3PPctXML.xml", "NBAAssistsXML.xml", - "NBABlocksXML.xml" + "NBABlocksXML.xml", + "nbaconfrecxml.xml" ] diff --git a/test/xml/sportinfo/nbaconfrecxml.dtd b/test/xml/sportinfo/nbaconfrecxml.dtd new file mode 100644 index 0000000..1ce438c --- /dev/null +++ b/test/xml/sportinfo/nbaconfrecxml.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/nbaconfrecxml.xml b/test/xml/sportinfo/nbaconfrecxml.xml new file mode 100644 index 0000000..862ab17 --- /dev/null +++ b/test/xml/sportinfo/nbaconfrecxml.xml @@ -0,0 +1,275 @@ + + + +901739717 +ACX%NBAEAST-VS-WEST +Statistics +NBA +NBA Statistics - Versus Eastern and Western Conference + ++Atlanta Hawks +27-18 +20-34 +10-16 +4-1 +8-20 +4-7 + ++Boston Celtics +16-28 +24-30 +10-18 +3-3 +11-17 +4-6 + ++Charlotte Hornets +23-21 +36-18 +17-9 +3-3 +13-15 +6-8 + ++Chicago Bulls +11-33 +13-41 +5-18 +2-4 +4-24 +1-13 + ++Cleveland Cavaliers +18-26 +20-34 +13-13 +4-2 +12-16 +5-6 + ++Detroit Pistons +25-19 +30-24 +9-12 +4-2 +12-16 +5-12 + ++Indiana Pacers +30-15 +36-18 +12-9 +3-2 +20-8 +6-12 + ++Miami Heat +30-15 +34-20 +15-10 +3-2 +18-10 +8-7 + ++Milwaukee Bucks +25-20 +28-26 +19-7 +3-2 +14-14 +4-8 + ++New Jersey Nets +14-30 +21-33 +7-19 +2-4 +10-18 +5-7 + ++New York Knicks +24-21 +32-22 +14-8 +3-2 +18-10 +10-5 + ++Orlando Magic +30-14 +27-27 +12-12 +3-3 +14-14 +5-8 + ++Philadelphia 76ers +25-19 +36-18 +20-2 +3-3 +13-15 +8-7 + ++Toronto Raptors +19-26 +29-25 +14-7 +4-1 +16-12 +5-12 + ++Washington Wizards +16-28 +19-35 +5-22 +2-4 +10-18 +2-10 + + + ++Dallas Mavericks +3-3 +12-18 +12-4 +16-28 +28-24 +12-12 + ++Denver Nuggets +2-4 +13-17 +5-6 +12-32 +22-30 +17-10 + ++Golden State Warriors +3-3 +10-20 +4-11 +18-26 +9-43 +7-15 + ++Houston Rockets +3-3 +11-19 +10-1 +28-16 +23-29 +9-18 + ++Los Angeles Clippers +1-5 +7-23 +5-12 +8-36 +8-44 +8-16 + ++Los Angeles Lakers +3-3 +27-3 +7-1 +28-16 +40-12 +18-11 + ++Minnesota Timberwolves +3-3 +18-12 +11-7 +22-22 +32-20 +10-11 + ++Phoenix Suns +1-5 +23-7 +8-3 +26-18 +30-22 +14-10 + ++Portland Trail Blazers +5-1 +21-9 +19-4 +30-14 +38-14 +10-7 + ++Sacramento Kings +4-2 +19-11 +10-5 +23-21 +25-27 +15-5 + ++San Antonio Spurs +4-2 +20-10 +10-5 +33-11 +33-19 +13-8 + ++Seattle SuperSonics +2-4 +14-16 +8-8 +23-21 +31-21 +13-11 + ++Utah Jazz +4-2 +22-8 +12-6 +33-11 +33-19 +12-7 + ++Vancouver Grizzlies +0-6 +10-20 +7-5 +8-36 +12-40 +4-21 + + + January 17, 2001, at 01:40 PM ET +