home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / XMLNEWS.DTD < prev    next >
Extensible Markup Language  |  2003-03-07  |  10KB  |  349 lines

  1. <?xml encoding="UTF-8"?>
  2.  
  3. <!-- Generated from xmlnews-story.xml on Fri Mar 26 16:21:07 EST 1999. -->
  4.  
  5. <!--
  6. ************************************************************************
  7. XMLNEWS-STORY
  8.  
  9. Copyright (c) 1999 by XMLNews.org
  10.  
  11. Description:
  12.  
  13. XMLNews-Story is a compatible subset of the News Industry
  14. Text Format (NITF-XML) DTD of 21 September 1998.  Documentation and
  15. tutorial information, together with the latest version of the schema, are 
  16. available from http://www.xml.org/.  The root element  is
  17. <nitf>.  The system identifier for the DTD is
  18. "http://www.xmlnews.org/dtds/xmlnews-story.dtd".
  19.  
  20. ************************************************************************
  21. -->
  22.  
  23. <!-- Hyperlink anchor -->
  24. <!ELEMENT a (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  25. <!ATTLIST a
  26.   href CDATA #REQUIRED>
  27.  
  28. <!-- Audio clip -->
  29. <!ELEMENT audio (audio.caption?, audio.producer?, audio.data)>
  30. <!ATTLIST audio
  31.   src CDATA #REQUIRED
  32.   length NMTOKEN #IMPLIED>
  33.  
  34. <!-- Audio clip caption -->
  35. <!ELEMENT audio.caption (caption)>
  36.  
  37. <!-- Audio clip data -->
  38. <!ELEMENT audio.data EMPTY>
  39. <!ATTLIST audio.data
  40.   copyright CDATA #IMPLIED>
  41.  
  42. <!-- Audio clip producer -->
  43. <!ELEMENT audio.producer (byline)+>
  44.  
  45. <!-- Document base URL -->
  46. <!ELEMENT base EMPTY>
  47. <!ATTLIST base
  48.   href CDATA #REQUIRED>
  49.  
  50. <!-- Information block -->
  51. <!ELEMENT block (dateline?, copyrite?, (img | audio | video | p | ol | ul | dl | table | bq | pre)*, datasource?)>
  52.  
  53. <!-- Body of the news story -->
  54. <!ELEMENT body (body.head?, body.content?, body.end?)>
  55.  
  56. <!-- Main content of a news story -->
  57. <!ELEMENT body.content (p | ol | ul | dl | h1 | h2 | h3 | h4 | block)*>
  58.  
  59. <!-- End information for a news story -->
  60. <!ELEMENT body.end (tagline)>
  61.  
  62. <!-- Printable header information for a news story -->
  63. <!ELEMENT body.head (hedline?, byline*, distributor?, dateline?, series?)>
  64.  
  65. <!-- Block quotation -->
  66. <!ELEMENT bq ((h1 | h2 | h3 | h4 | block)+, credit?)>
  67.  
  68. <!-- Line Break -->
  69. <!ELEMENT br EMPTY>
  70.  
  71. <!-- Story byline -->
  72. <!ELEMENT byline (bytag)>
  73.  
  74. <!-- Tag in a byline. -->
  75. <!ELEMENT bytag (#PCDATA)>
  76.  
  77. <!-- Caption -->
  78. <!ELEMENT caption (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  79.  
  80. <!-- Date and time -->
  81. <!ELEMENT chron (#PCDATA)>
  82. <!ATTLIST chron
  83.   norm CDATA #IMPLIED>
  84.  
  85. <!-- City -->
  86. <!ELEMENT city (#PCDATA)>
  87.  
  88. <!-- Copyright statement -->
  89. <!ELEMENT copyrite (#PCDATA | copyrite.year | copyrite.holder)*>
  90.  
  91. <!-- Copyright holder -->
  92. <!ELEMENT copyrite.holder (#PCDATA)>
  93.  
  94. <!-- Copyright year -->
  95. <!ELEMENT copyrite.year (#PCDATA)>
  96.  
  97. <!-- Country name -->
  98. <!ELEMENT country (#PCDATA)>
  99.  
  100. <!-- Quotation credit -->
  101. <!ELEMENT credit (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  102.  
  103. <!-- Block data source -->
  104. <!ELEMENT datasource (#PCDATA)>
  105.  
  106. <!-- Dateline -->
  107. <!ELEMENT dateline (location, story.date?)>
  108.  
  109. <!-- Descriptive data -->
  110. <!ELEMENT dd (block)>
  111.  
  112. <!-- Denominator -->
  113. <!ELEMENT denom (#PCDATA)>
  114.  
  115. <!-- News distributor -->
  116. <!ELEMENT distributor (#PCDATA | org)*>
  117.  
  118. <!-- Descriptive list -->
  119. <!ELEMENT dl (lh?, (dt?, dd)+)>
  120.  
  121. <!-- Description title -->
  122. <!ELEMENT dt (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  123.  
  124. <!-- Emphasized phrase -->
  125. <!ELEMENT em (#PCDATA)>
  126.  
  127. <!-- Event name -->
  128. <!ELEMENT event (#PCDATA)>
  129.  
  130. <!-- Fraction -->
  131. <!ELEMENT frac (numer, denom)>
  132.  
  133. <!-- Person's function -->
  134. <!ELEMENT function (#PCDATA)>
  135.  
  136. <!-- Level one heading -->
  137. <!ELEMENT h1 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  138.  
  139. <!-- Level two heading -->
  140. <!ELEMENT h2 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  141.  
  142. <!-- Level three heading -->
  143. <!ELEMENT h3 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  144.  
  145. <!-- Level four heading -->
  146. <!ELEMENT h4 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  147.  
  148. <!-- Document header -->
  149. <!ELEMENT head (title, base?)>
  150.  
  151. <!-- Story headline group -->
  152. <!ELEMENT hedline (hl1, hl2*)>
  153.  
  154. <!-- Story headline -->
  155. <!ELEMENT hl1 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  156.  
  157. <!-- Story subheadline -->
  158. <!ELEMENT hl2 (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  159.  
  160. <!-- Image -->
  161. <!ELEMENT img (img.caption?, img.producer?, img.data)>
  162. <!ATTLIST img
  163.   src CDATA #REQUIRED
  164.   width NMTOKEN #IMPLIED
  165.   height NMTOKEN #IMPLIED>
  166.  
  167. <!-- Image caption -->
  168. <!ELEMENT img.caption (caption)>
  169.  
  170. <!-- Image data -->
  171. <!ELEMENT img.data EMPTY>
  172. <!ATTLIST img.data
  173.   copyright CDATA #IMPLIED>
  174.  
  175. <!-- Image producer -->
  176. <!ELEMENT img.producer (byline)+>
  177.  
  178. <!-- Foreign language phrase -->
  179. <!ELEMENT lang (#PCDATA)>
  180. <!ATTLIST lang
  181.   lang NMTOKEN #IMPLIED>
  182.  
  183. <!-- List header -->
  184. <!ELEMENT lh (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  185.  
  186. <!-- List item -->
  187. <!ELEMENT li (block)>
  188.  
  189. <!-- Location in story -->
  190. <!ELEMENT location (#PCDATA | sublocation | city | state | region | country)*>
  191.  
  192. <!-- Monetary phrase -->
  193. <!ELEMENT money (#PCDATA)>
  194. <!ATTLIST money
  195.   unit CDATA #IMPLIED>
  196.  
  197. <!-- Family name -->
  198. <!ELEMENT name.family (#PCDATA)>
  199.  
  200. <!-- Given name -->
  201. <!ELEMENT name.given (#PCDATA)>
  202.  
  203. <!-- XMLNews-Story root element -->
  204. <!ELEMENT nitf (head, body)>
  205. <!ATTLIST nitf
  206.   baselang CDATA #IMPLIED
  207.   change.date CDATA #FIXED "$Date: 1999/03/26 21:21:02 $"
  208.   change.time CDATA #FIXED "0000"
  209.   unr CDATA #IMPLIED
  210.   version CDATA #FIXED "-//XMLNews//DTD XMLNEWS-STORY $Revision: 1.7 $//EN">
  211.  
  212. <!-- Numeric expression -->
  213. <!ELEMENT num (#PCDATA | frac | sub | sup)*>
  214.  
  215. <!-- Numerator -->
  216. <!ELEMENT numer (#PCDATA)>
  217.  
  218. <!-- Object title -->
  219. <!ELEMENT object.title (#PCDATA)>
  220.  
  221. <!-- Ordered list -->
  222. <!ELEMENT ol (lh?, li+)>
  223.  
  224. <!-- Organization -->
  225. <!ELEMENT org (#PCDATA | orgid)*>
  226.  
  227. <!-- Organization identifier -->
  228. <!ELEMENT orgid EMPTY>
  229. <!ATTLIST orgid
  230.   idsrc CDATA #REQUIRED
  231.   value CDATA #REQUIRED>
  232.  
  233. <!-- Paragraph -->
  234. <!ELEMENT p (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  235.  
  236. <!-- Person -->
  237. <!ELEMENT person (#PCDATA | name.given | name.family | function)*>
  238.  
  239. <!-- Preformatted text -->
  240. <!ELEMENT pre (#PCDATA)>
  241.  
  242. <!-- Pronounciation -->
  243. <!ELEMENT pronounce EMPTY>
  244. <!ATTLIST pronounce
  245.   guide CDATA #IMPLIED
  246.   phonetic CDATA #IMPLIED>
  247.  
  248. <!-- Quoted phrase -->
  249. <!ELEMENT q (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  250.  
  251. <!-- Geographical region -->
  252. <!ELEMENT region (#PCDATA)>
  253.  
  254. <!-- Series -->
  255. <!ELEMENT series EMPTY>
  256. <!ATTLIST series
  257.   series.name CDATA #IMPLIED
  258.   series.part NMTOKEN "0"
  259.   series.totalpart NMTOKEN "0">
  260.  
  261. <!-- Geographical state -->
  262. <!ELEMENT state (#PCDATA)>
  263.  
  264. <!-- Story date -->
  265. <!ELEMENT story.date (#PCDATA)>
  266.  
  267. <!-- Subscript phrase -->
  268. <!ELEMENT sub (#PCDATA)>
  269.  
  270. <!-- Geographical sublocation -->
  271. <!ELEMENT sublocation (#PCDATA)>
  272.  
  273. <!-- Superscript phrase -->
  274. <!ELEMENT sup (#PCDATA)>
  275.  
  276. <!-- Table -->
  277. <!ELEMENT table (caption?, thead?, tfoot?, tbody+)>
  278.  
  279. <!-- Story tag line -->
  280. <!ELEMENT tagline (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q)*>
  281.  
  282. <!-- Table body -->
  283. <!ELEMENT tbody (tr+)>
  284. <!ATTLIST tbody
  285.   align (left | center | right | justify) #IMPLIED
  286.   valign (top | middle | bottom | baseline) #IMPLIED>
  287.  
  288. <!-- Table data cell -->
  289. <!ELEMENT td (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q | p | ol | ul | dl | h1 | h2 | h3 | h4 | img | audio | video)*>
  290. <!ATTLIST td
  291.   rowspan NMTOKEN "1"
  292.   colspan NMTOKEN "1"
  293.   align (left | center | right | justify) #IMPLIED
  294.   valign (top | middle | bottom | baseline) #IMPLIED>
  295.  
  296. <!-- Table footer -->
  297. <!ELEMENT tfoot (tr+)>
  298. <!ATTLIST tfoot
  299.   align (left | center | right | justify) #IMPLIED
  300.   valign (top | middle | bottom | baseline) #IMPLIED>
  301.  
  302. <!-- Table heading cell -->
  303. <!ELEMENT th (#PCDATA | chron | copyrite | event | function | location | money | num | object.title | org | person | virtloc | a | br | em | lang | pronounce | q | p | ol | ul | dl | h1 | h2 | h3 | h4)*>
  304. <!ATTLIST th
  305.   rowspan NMTOKEN "1"
  306.   colspan NMTOKEN "1"
  307.   align (left | center | right | justify) #IMPLIED
  308.   valign (top | middle | bottom | baseline) #IMPLIED>
  309.  
  310. <!-- Table header -->
  311. <!ELEMENT thead (tr+)>
  312. <!ATTLIST thead
  313.   align (left | center | right | justify) #IMPLIED
  314.   valign (top | middle | bottom | baseline) #IMPLIED>
  315.  
  316. <!-- Document title -->
  317. <!ELEMENT title (#PCDATA)>
  318.  
  319. <!-- Table row -->
  320. <!ELEMENT tr (th | td)+>
  321. <!ATTLIST tr
  322.   align (left | center | right | justify) #IMPLIED
  323.   valign (top | middle | bottom | baseline) #IMPLIED>
  324.  
  325. <!-- Unordered list -->
  326. <!ELEMENT ul (lh?, li+)>
  327.  
  328. <!-- Video clip -->
  329. <!ELEMENT video (video.caption?, video.producer?, video.data)>
  330. <!ATTLIST video
  331.   src CDATA #REQUIRED
  332.   length NMTOKEN #IMPLIED>
  333.  
  334. <!-- Video clip caption -->
  335. <!ELEMENT video.caption (caption)>
  336.  
  337. <!-- Video clip data -->
  338. <!ELEMENT video.data EMPTY>
  339. <!ATTLIST video.data
  340.   copyright CDATA #IMPLIED>
  341.  
  342. <!-- Video clip producer -->
  343. <!ELEMENT video.producer (byline)+>
  344.  
  345. <!-- Virtual location -->
  346. <!ELEMENT virtloc (#PCDATA)>
  347.  
  348. <!-- end of DTD -->
  349.