]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - schema/weatherxml.dtd
Bump to version 0.2.0.
[dead/htsn-import.git] / schema / weatherxml.dtd
1 <!ELEMENT XML_File_ID (#PCDATA)>
2 <!ELEMENT heading (#PCDATA)>
3 <!ELEMENT category (#PCDATA)>
4 <!ELEMENT sport (#PCDATA)>
5 <!ELEMENT title (#PCDATA)>
6 <!ELEMENT teams (#PCDATA)>
7 <!ELEMENT weather (#PCDATA)>
8 <!ELEMENT listing ( ( teams, weather ) )>
9 <!ELEMENT league ( listing* )>
10 <!ELEMENT forecast ( league* )>
11 <!ELEMENT time_stamp (#PCDATA)>
12 <!ELEMENT message ( ( XML_File_ID, heading, category, sport, title, forecast*, Detailed_Weather?, time_stamp ) )>
13 <!ELEMENT Sportcode (#PCDATA)>
14 <!ELEMENT GameID (#PCDATA)>
15 <!ELEMENT Gamedate (#PCDATA)>
16 <!ELEMENT AwayTeam (#PCDATA)>
17 <!ELEMENT HomeTeam (#PCDATA)>
18 <!ELEMENT WeatherType (#PCDATA)>
19 <!ELEMENT Description (#PCDATA)>
20 <!ELEMENT TempAdjust (#PCDATA)>
21 <!ELEMENT Temperature (#PCDATA)>
22 <!ELEMENT Item ( ( Sportcode, GameID, Gamedate, AwayTeam, HomeTeam, WeatherType, Description, TempAdjust, Temperature ) )>
23 <!ELEMENT DW_Listing ( Item* )>
24 <!ELEMENT Detailed_Weather ( DW_Listing* )>
25
26 <!ATTLIST league name CDATA #REQUIRED>
27 <!ATTLIST forecast gamedate CDATA #REQUIRED>
28 <!ATTLIST DW_Listing SportCode CDATA #REQUIRED>
29 <!ATTLIST DW_Listing Sport CDATA #REQUIRED>