From: Michael Orlitzky Date: Tue, 17 Jun 2014 03:34:08 +0000 (-0400) Subject: Add SportInfo support for Cbask_Team_Win_Pct_XML.dtd. X-Git-Tag: 0.0.6~187 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a0c51631f1f524b7fab91d0b6d57ce0d1ab39f60;p=dead%2Fhtsn-import.git Add SportInfo support for Cbask_Team_Win_Pct_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 89dac1f..03ec095 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -148,6 +148,8 @@ CBASK_ScoringLeadersXML.dtd Cbask_Team_ThreePT_Made_XML.dtd .IP \[bu] Cbask_Team_ThreePT_PCT_XML.dtd +.IP \[bu] +Cbask_Team_Win_Pct_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Cbask_Team_Win_Pct_XML.dtd b/schema/Cbask_Team_Win_Pct_XML.dtd new file mode 100644 index 0000000..cf59f9b --- /dev/null +++ b/schema/Cbask_Team_Win_Pct_XML.dtd @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Team_Win_Pct_XML/Cbask_Team_Win_Pct_XML.xml b/schemagen/Cbask_Team_Win_Pct_XML/Cbask_Team_Win_Pct_XML.xml new file mode 100644 index 0000000..96168cd --- /dev/null +++ b/schemagen/Cbask_Team_Win_Pct_XML/Cbask_Team_Win_Pct_XML.xml @@ -0,0 +1,140 @@ + + + +966788717 +AEX%NCAA-TEAM-WL-PERCENTAGE +Statistics +CBASK + +NCAA Division I Basketball Team Won-Lost Percentage Statistics + ++20- 1 +95.2 + ++20- 2 +90.9 + ++20- 2 +90.9 + ++20- 3 +87.0 + ++20- 3 +87.0 + ++20- 3 +87.0 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++18- 3 +85.7 + ++17- 3 +85.0 + ++17- 3 +85.0 + ++17- 3 +85.0 + ++20- 4 +83.3 + ++19- 4 +82.6 + ++19- 4 +82.6 + ++18- 4 +81.8 + ++17- 4 +81.0 + ++17- 4 +81.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + + February 12, 2002, at 04:12 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 8d14a9a..82c7f58 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -91,7 +91,7 @@ dtds = "Cbask_Team_Shooting_Pct_XML.dtd", -- no dtd "Cbask_Team_ThreePT_Made_XML.dtd", "Cbask_Team_ThreePT_PCT_XML.dtd", - "Cbask_Team_Win_Pct_XML.dtd", -- no dtd + "Cbask_Team_Win_Pct_XML.dtd", "Cbask_Top_Twenty_Five_XML.dtd", -- no dtd "CBASK_TopTwentyFiveResult_XML.dtd", -- no dtd "Cbask_Tourn_Awards_XML.dtd", -- no dtd @@ -334,7 +334,8 @@ sport_info_test_files = "test/xml/sportinfo/CBASK_ReboundsXML.xml", "test/xml/sportinfo/CBASK_ScoringLeadersXML.xml", "test/xml/sportinfo/Cbask_Team_ThreePT_Made_XML.xml", - "test/xml/sportinfo/Cbask_Team_ThreePT_PCT_XML.xml" + "test/xml/sportinfo/Cbask_Team_ThreePT_PCT_XML.xml", + "test/xml/sportinfo/Cbask_Team_Win_Pct_XML.xml" ] diff --git a/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.dtd b/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.dtd new file mode 100644 index 0000000..cf59f9b --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.dtd @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.xml b/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.xml new file mode 100644 index 0000000..96168cd --- /dev/null +++ b/test/xml/sportinfo/Cbask_Team_Win_Pct_XML.xml @@ -0,0 +1,140 @@ + + + +966788717 +AEX%NCAA-TEAM-WL-PERCENTAGE +Statistics +CBASK + +NCAA Division I Basketball Team Won-Lost Percentage Statistics + ++20- 1 +95.2 + ++20- 2 +90.9 + ++20- 2 +90.9 + ++20- 3 +87.0 + ++20- 3 +87.0 + ++20- 3 +87.0 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++19- 3 +86.4 + ++18- 3 +85.7 + ++17- 3 +85.0 + ++17- 3 +85.0 + ++17- 3 +85.0 + ++20- 4 +83.3 + ++19- 4 +82.6 + ++19- 4 +82.6 + ++18- 4 +81.8 + ++17- 4 +81.0 + ++17- 4 +81.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++16- 4 +80.0 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + ++17- 5 +77.3 + + February 12, 2002, at 04:12 PM ET +