]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blob - schema/newsxml.dtd
Add a new newsxml sample with the new required team "id" attribute.
[dead/htsn-import.git] / schema / newsxml.dtd
1 <!ELEMENT XML_File_ID (#PCDATA)>
2 <!ELEMENT heading (#PCDATA)>
3 <!ELEMENT msg_id (#PCDATA)>
4 <!ELEMENT category (#PCDATA)>
5 <!ELEMENT sport (#PCDATA)>
6 <!ELEMENT url (#PCDATA)>
7 <!ELEMENT team (#PCDATA)>
8 <!ELEMENT city (#PCDATA)>
9 <!ELEMENT state (#PCDATA)>
10 <!ELEMENT country (#PCDATA)>
11 <!ELEMENT location ( ( ( city, state )?, country ) )>
12 <!ELEMENT SMS (#PCDATA)>
13 <!ELEMENT text (#PCDATA)>
14 <!ELEMENT P (#PCDATA)>
15 <!ELEMENT continue ( P* )>
16 <!ELEMENT time_stamp (#PCDATA)>
17 <!ELEMENT message ( ( XML_File_ID, heading, msg_id, category, sport, url, team*, location*, SMS, ( Editor?, text, continue )?, time_stamp ) )>
18 <!ELEMENT Editor (#PCDATA)>
19
20 <!ATTLIST msg_id EventId CDATA #REQUIRED>
21
22 <!-- The team id used to be nonexistent, now it's required. -->
23 <!ATTLIST team id CDATA #REQUIRED>