From: Michael Orlitzky Date: Mon, 23 Jun 2014 01:44:21 +0000 (-0400) Subject: Add SportInfo support for nbatripledoublexml.dtd. X-Git-Tag: 0.0.6~109 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=94292f07b5ef9076fefa9b1df8bbd990e08175f2;p=dead%2Fhtsn-import.git Add SportInfo support for nbatripledoublexml.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 5145f8c..fbb7ce0 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -300,6 +300,8 @@ nbastandxml.dtd NBAStealsXML.dtd .IP \[bu] nbateamleadersxml.dtd +.IP \[bu] +nbatripledoublexml.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/nbatripledoublexml.dtd b/schema/nbatripledoublexml.dtd new file mode 100644 index 0000000..691f5e3 --- /dev/null +++ b/schema/nbatripledoublexml.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/nbatripledoublexml/nbatripledoublexml.xml b/schemagen/nbatripledoublexml/nbatripledoublexml.xml new file mode 100644 index 0000000..5a421c9 --- /dev/null +++ b/schemagen/nbatripledoublexml/nbatripledoublexml.xml @@ -0,0 +1,130 @@ + + + +203650917 +ACX%TRIPLE-DOUBLE +Leaders +NBA +2000-2001 NBA Triple-Doubles ++10/31 +Gary Payton +SeattleVancouver +27 Pts, 14 Reb, 10 Ast11 + ++10/31 +Jason Kidd +PhoenixGolden State +24 Pts, 10 Reb, 11 Ast32 + ++11/09 +Jason Kidd (2) +PhoenixAtlanta +19 Pts, 13 Reb, 12 Ast33 + ++11/11 +Charles Oakley +TorontoChicago +10 Pts, 11 Reb, 12 Ast3 + ++11/17 +Jason Kidd (3) +PhoenixNew York +18 Pts, 12 Reb, 10 Ast34 + ++11/22 +Baron Davis +CharlottePhiladelphia +12 Pts, 10 Reb, 11 Ast1 + ++11/25 +Baron Davis (2) +CharlotteCleveland +14 Pts, 10 Reb, 11 Ast2 + ++11/26 +Mark Jackson +TorontoChicago +11 Pts, 11 Reb, 11 Ast17 + ++11/29 +Lamar Odom +LA ClippersGolden State +16 Pts, 12 Reb, 11 Ast4 + ++12/02 +Michael Finley +DallasGolden State +13 Pts, 13 Reb, 10 Ast6 + ++12/08 +Antoine Walker +BostonIndiana +16 Pts, 10 Reb, 12 Ast5 + ++12/15 +Kevin Garnett +MinnesotaDetroit +26 Pts, 13 Reb, 10 Ast3 + ++12/16 +Antoine Walker (2) +BostonCharlotte +20 Pts, 11 Reb, 10 Ast6 + ++12/20 +Gary Payton (2) +SeattleSacramento +19 Pts, 12 Reb, 10 Ast12 + ++12/23 +Jason Kidd (4) +PhoenixDenver +14 Pts, 10 Reb, 13 Ast35 + ++12/30 +Aaron McKie +Philadel.Sacramento +19 Pts, 10 Reb, 14 Ast1 + ++01/03 +Aaron McKie (2) +Philadel.Atlanta +11 Pts, 10 Reb, 10 Ast2 + ++01/05 +Jason Kidd (5) +PhoenixVancouver +11 Pts, 10 Reb, 14 Ast36 + ++01/15 +Antoine Walker (3) +BostonMinnesota +20 Pts, 12 Reb, 12 Ast7 + ++01/15 +Kobe Bryant +LA LakersVancouver +26 Pts, 11 Reb, 11 Ast1 + + January 16, 2001, at 02:56 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index a02d769..d703d3a 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -168,7 +168,7 @@ dtds = "nbastandxml.dtd", "NBAStealsXML.dtd", "nbateamleadersxml.dtd", - "nbatripledoublexml.dtd", -- no dtd + "nbatripledoublexml.dtd", "NBATurnoversXML.dtd", -- no dtd "NCAA_Conference_Schedule_XML.dtd", -- no dtd "nflfirstdownxml.dtd", -- no dtd @@ -411,7 +411,8 @@ sport_info_test_files = "NBAScorersXML.xml", "nbastandxml.xml", "NBAStealsXML.xml", - "nbateamleadersxml.xml" + "nbateamleadersxml.xml", + "nbatripledoublexml.xml" ] diff --git a/test/xml/sportinfo/nbatripledoublexml.dtd b/test/xml/sportinfo/nbatripledoublexml.dtd new file mode 100644 index 0000000..691f5e3 --- /dev/null +++ b/test/xml/sportinfo/nbatripledoublexml.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/nbatripledoublexml.xml b/test/xml/sportinfo/nbatripledoublexml.xml new file mode 100644 index 0000000..5a421c9 --- /dev/null +++ b/test/xml/sportinfo/nbatripledoublexml.xml @@ -0,0 +1,130 @@ + + + +203650917 +ACX%TRIPLE-DOUBLE +Leaders +NBA +2000-2001 NBA Triple-Doubles ++10/31 +Gary Payton +SeattleVancouver +27 Pts, 14 Reb, 10 Ast11 + ++10/31 +Jason Kidd +PhoenixGolden State +24 Pts, 10 Reb, 11 Ast32 + ++11/09 +Jason Kidd (2) +PhoenixAtlanta +19 Pts, 13 Reb, 12 Ast33 + ++11/11 +Charles Oakley +TorontoChicago +10 Pts, 11 Reb, 12 Ast3 + ++11/17 +Jason Kidd (3) +PhoenixNew York +18 Pts, 12 Reb, 10 Ast34 + ++11/22 +Baron Davis +CharlottePhiladelphia +12 Pts, 10 Reb, 11 Ast1 + ++11/25 +Baron Davis (2) +CharlotteCleveland +14 Pts, 10 Reb, 11 Ast2 + ++11/26 +Mark Jackson +TorontoChicago +11 Pts, 11 Reb, 11 Ast17 + ++11/29 +Lamar Odom +LA ClippersGolden State +16 Pts, 12 Reb, 11 Ast4 + ++12/02 +Michael Finley +DallasGolden State +13 Pts, 13 Reb, 10 Ast6 + ++12/08 +Antoine Walker +BostonIndiana +16 Pts, 10 Reb, 12 Ast5 + ++12/15 +Kevin Garnett +MinnesotaDetroit +26 Pts, 13 Reb, 10 Ast3 + ++12/16 +Antoine Walker (2) +BostonCharlotte +20 Pts, 11 Reb, 10 Ast6 + ++12/20 +Gary Payton (2) +SeattleSacramento +19 Pts, 12 Reb, 10 Ast12 + ++12/23 +Jason Kidd (4) +PhoenixDenver +14 Pts, 10 Reb, 13 Ast35 + ++12/30 +Aaron McKie +Philadel.Sacramento +19 Pts, 10 Reb, 14 Ast1 + ++01/03 +Aaron McKie (2) +Philadel.Atlanta +11 Pts, 10 Reb, 10 Ast2 + ++01/05 +Jason Kidd (5) +PhoenixVancouver +11 Pts, 10 Reb, 14 Ast36 + ++01/15 +Antoine Walker (3) +BostonMinnesota +20 Pts, 12 Reb, 12 Ast7 + ++01/15 +Kobe Bryant +LA LakersVancouver +26 Pts, 11 Reb, 11 Ast1 + + January 16, 2001, at 02:56 PM ET +