From: Michael Orlitzky Date: Mon, 23 Jun 2014 18:29:56 +0000 (-0400) Subject: Add SportInfo support for WNBA_Team_Leaders_XML.dtd. X-Git-Tag: 0.0.6~87 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=fff674bf5530ce36bac5d6e04f69c66344f446a9;p=dead%2Fhtsn-import.git Add SportInfo support for WNBA_Team_Leaders_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index d3e762c..3c3978d 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -344,6 +344,8 @@ NFL_Team_Stats_XML.dtd Transactions_XML.dtd .IP \[bu] Weekly_Sched_XML.dtd +.IP \[bu] +WNBA_Team_Leaders_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/WNBA_Team_Leaders_XML.dtd b/schema/WNBA_Team_Leaders_XML.dtd new file mode 100644 index 0000000..bdc1211 --- /dev/null +++ b/schema/WNBA_Team_Leaders_XML.dtd @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/WNBA_Team_Leaders_XML/WNBA_Team_Leaders_XML.xml b/schemagen/WNBA_Team_Leaders_XML/WNBA_Team_Leaders_XML.xml new file mode 100644 index 0000000..6456009 --- /dev/null +++ b/schemagen/WNBA_Team_Leaders_XML/WNBA_Team_Leaders_XML.xml @@ -0,0 +1,98 @@ + + + +222572 +BUX%TEAM-LEADERS +Statistics +BASK-W +2003 WNBA Team Leaders ++Charlotte +70.074.0 +.369.377 +.385.333 +14.011.0 +-3.0 + ++Cleveland +71.079.0 +.362.405 +.316.385 +13.09.0 +-4.0 + ++Connecticut +73.082.0 +.345.389 +.381.125 +15.014.0 +-1.0 + ++Houston +72.063.0 +.500.398 +.235.379 +14.010.5 +-3.5 + ++Los Angeles +*80.572.0 +.397.353 +.241.350 +11.514.0 ++2.5 + ++Minnesota +72.071.0 +*.510.451 +.462.357 +21.012.0 +-9.0 + ++Phoenix +59.067.0 +.336.449 +.263.389 +11.5*17.5 +*+6.0 + ++Sacramento +68.064.0 +.427.400 +.375.318 +15.5*17.5 ++2.0 + ++San Antonio +65.0*56.0 +.467*.313 +*.500*.083 +18.013.0 +-5.0 + ++Seattle +60.070.0 +.374.485 +.258.267 +12.515.0 ++2.5 + ++Washington +74.070.0 +.377.369 +.333.385 +*11.014.0 ++3.0 + + May 28, 2003, at 01:02 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 6901dfa..57bc2ec 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -200,7 +200,7 @@ dtds = "NFL_Team_Stats_XML.dtd", "Transactions_XML.dtd", "Weekly_Sched_XML.dtd", - "WNBA_Team_Leaders_XML.dtd", -- no dtd + "WNBA_Team_Leaders_XML.dtd", "WNBA3PPctXML.dtd", -- no dtd "WNBAAssistsXML.dtd", -- no dtd "WNBABlocksXML.dtd", -- no dtd @@ -433,7 +433,8 @@ sport_info_test_files = "NFL_Roster_XML.xml", "NFL_Team_Stats_XML.xml", "Transactions_XML.xml", - "Weekly_Sched_XML.xml" + "Weekly_Sched_XML.xml", + "WNBA_Team_Leaders_XML.xml" ] diff --git a/test/xml/sportinfo/WNBA_Team_Leaders_XML.dtd b/test/xml/sportinfo/WNBA_Team_Leaders_XML.dtd new file mode 100644 index 0000000..bdc1211 --- /dev/null +++ b/test/xml/sportinfo/WNBA_Team_Leaders_XML.dtd @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/WNBA_Team_Leaders_XML.xml b/test/xml/sportinfo/WNBA_Team_Leaders_XML.xml new file mode 100644 index 0000000..6456009 --- /dev/null +++ b/test/xml/sportinfo/WNBA_Team_Leaders_XML.xml @@ -0,0 +1,98 @@ + + + +222572 +BUX%TEAM-LEADERS +Statistics +BASK-W +2003 WNBA Team Leaders ++Charlotte +70.074.0 +.369.377 +.385.333 +14.011.0 +-3.0 + ++Cleveland +71.079.0 +.362.405 +.316.385 +13.09.0 +-4.0 + ++Connecticut +73.082.0 +.345.389 +.381.125 +15.014.0 +-1.0 + ++Houston +72.063.0 +.500.398 +.235.379 +14.010.5 +-3.5 + ++Los Angeles +*80.572.0 +.397.353 +.241.350 +11.514.0 ++2.5 + ++Minnesota +72.071.0 +*.510.451 +.462.357 +21.012.0 +-9.0 + ++Phoenix +59.067.0 +.336.449 +.263.389 +11.5*17.5 +*+6.0 + ++Sacramento +68.064.0 +.427.400 +.375.318 +15.5*17.5 ++2.0 + ++San Antonio +65.0*56.0 +.467*.313 +*.500*.083 +18.013.0 +-5.0 + ++Seattle +60.070.0 +.374.485 +.258.267 +12.515.0 ++2.5 + ++Washington +74.070.0 +.377.369 +.333.385 +*11.014.0 ++3.0 + + May 28, 2003, at 01:02 PM ET +