From: Michael Orlitzky Date: Mon, 23 Jun 2014 15:01:24 +0000 (-0400) Subject: Add SportInfo support for NFL_NBA_Draft_XML.dtd. X-Git-Tag: 0.0.6~92 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=676b608f662514ed9055aa13acb7f7f496205c3b;p=dead%2Fhtsn-import.git Add SportInfo support for NFL_NBA_Draft_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 925ca14..2b3d243 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -334,6 +334,8 @@ NFLTopPerformanceXML.dtd NFLTotalYardageXML.dtd .IP \[bu] NFL_KickingLeaders_XML.dtd +.IP \[bu] +NFL_NBA_Draft_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFL_NBA_Draft_XML.dtd b/schema/NFL_NBA_Draft_XML.dtd new file mode 100644 index 0000000..8b89231 --- /dev/null +++ b/schema/NFL_NBA_Draft_XML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFL_NBA_Draft_XML/NFL_NBA_Draft_XML.xml b/schemagen/NFL_NBA_Draft_XML/NFL_NBA_Draft_XML.xml new file mode 100644 index 0000000..1a157a7 --- /dev/null +++ b/schemagen/NFL_NBA_Draft_XML/NFL_NBA_Draft_XML.xml @@ -0,0 +1,39 @@ + + + +277 +ABB%DRAFT-MCCLESKEY +Stats +NFL +NFL Draft Profile - Donnie McCleskey +Donnie McCleskey + + + +S +California +SR +5-10 +190 +Bishop Amat (Chino Hills, California) + +Named Second Team All-Pac-10 Conference as a senior in 2005 as he placed +second on California's defense with 62.5 tackles, of which 52 stops were of +the solo variety...One of two players to have forced a pair of fumbles this +past season, also made eight and a half stops behind the line of scrimmage +and was among the team leaders with three sacks...Fought through a shoulder +injury for much of the 2004 campaign, leaving him with a career-low 38 +tackles, of which three were TFLs...Earned All-Pac-10 First Team honors in +2003 when he broke California's defensive back record for tackles with 102 +stops, leading the entire conference at the position...McCleskey also led +all Pac-10 DBs in sacks and tackles for loss with 5.5 and 12, +respectively...Entered his sophomore campaign as the top returning tackler +for the Golden Bears after he recorded 45 stops in 2002...Is tough and +aggressive at the safety position and plays with his head, rarely making bad +decisions that he can't make up for athletically...Only negative seems to be +his size, but is a smart player that has compensated during his collegiate +career. + + +April 7, 2006, at 12:10 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index b456e6f..434db02 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -192,9 +192,9 @@ dtds = "NFLTopPerformanceXML.dtd", "NFLTopPuntReturnXML.dtd", -- no xml "NFLTotalYardageXML.dtd", - "NFLYardsXML.dtd", -- no dtd + "NFLYardsXML.dtd", -- no xml "NFL_KickingLeaders_XML.dtd", - "NFL_NBA_Draft_XML.dtd", -- no dtd + "NFL_NBA_Draft_XML.dtd", "NFL_PuntingLeaders_XML.dtd", -- no dtd "NFL_Roster_XML.dtd", -- no dtd "NFL_Team_Stats_XML.dtd", -- no dtd @@ -428,7 +428,8 @@ sport_info_test_files = "NFLTeamRankingsXML.xml", "NFLTopPerformanceXML.xml", "NFLTotalYardageXML.xml", - "NFL_KickingLeaders_XML.xml" + "NFL_KickingLeaders_XML.xml", + "NFL_NBA_Draft_XML.xml" ] diff --git a/test/xml/sportinfo/NFL_NBA_Draft_XML.dtd b/test/xml/sportinfo/NFL_NBA_Draft_XML.dtd new file mode 100644 index 0000000..8b89231 --- /dev/null +++ b/test/xml/sportinfo/NFL_NBA_Draft_XML.dtd @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFL_NBA_Draft_XML.xml b/test/xml/sportinfo/NFL_NBA_Draft_XML.xml new file mode 100644 index 0000000..1a157a7 --- /dev/null +++ b/test/xml/sportinfo/NFL_NBA_Draft_XML.xml @@ -0,0 +1,39 @@ + + + +277 +ABB%DRAFT-MCCLESKEY +Stats +NFL +NFL Draft Profile - Donnie McCleskey +Donnie McCleskey + + + +S +California +SR +5-10 +190 +Bishop Amat (Chino Hills, California) + +Named Second Team All-Pac-10 Conference as a senior in 2005 as he placed +second on California's defense with 62.5 tackles, of which 52 stops were of +the solo variety...One of two players to have forced a pair of fumbles this +past season, also made eight and a half stops behind the line of scrimmage +and was among the team leaders with three sacks...Fought through a shoulder +injury for much of the 2004 campaign, leaving him with a career-low 38 +tackles, of which three were TFLs...Earned All-Pac-10 First Team honors in +2003 when he broke California's defensive back record for tackles with 102 +stops, leading the entire conference at the position...McCleskey also led +all Pac-10 DBs in sacks and tackles for loss with 5.5 and 12, +respectively...Entered his sophomore campaign as the top returning tackler +for the Golden Bears after he recorded 45 stops in 2002...Is tough and +aggressive at the safety position and plays with his head, rarely making bad +decisions that he can't make up for athletically...Only negative seems to be +his size, but is a smart player that has compensated during his collegiate +career. + + +April 7, 2006, at 12:10 PM ET +