1<!-- TAKEN from wireshark/dtds/smil.dtd --> 2 3<? wireshark:protocol 4 proto_name="smil" 5 media="application/smil" 6 description="Synchronized Multimedia Integration Language" 7 ?> 8 9<!-- 10 11 This is the XML document type definition (DTD) for SMIL 1.0. 12 13 Date: 1998/06/15 08:56:30 14 15 Authors: 16 Jacco van Ossenbruggen <jrvosse@cwi.nl> 17 Sjoerd Mullender <sjoerd@cwi.nl> 18 19 Further information about SMIL is available at: 20 21 http://www.w3.org/AudioVideo/ 22 23--> 24 25 26<!-- Generally useful entities --> 27<!ENTITY % id-attr "id ID #IMPLIED"> 28<!ENTITY % title-attr "title CDATA #IMPLIED"> 29<!ENTITY % skip-attr "skip-content (true|false) 'true'"> 30<!ENTITY % desc-attr " 31 %title-attr; 32 abstract CDATA #IMPLIED 33 author CDATA #IMPLIED 34 copyright CDATA #IMPLIED 35"> 36 37<!--=================== SMIL Document =====================================--> 38<!-- 39 The root element SMIL contains all other elements. 40--> 41<!ELEMENT smil (head?,body?)> 42<!ATTLIST smil 43 %id-attr; 44> 45 46<!--=================== The Document Head =================================--> 47<!ENTITY % layout-section "layout|switch"> 48 49<!ENTITY % head-element "(meta*,((%layout-section;), meta*))?"> 50 51<!ELEMENT head %head-element;> 52<!ATTLIST head %id-attr;> 53 54 55<!--=================== Layout Element ====================================--> 56<!-- 57 Layout contains the region and root-layout elements defined by 58 smil-basic-layout or other elements defined an external layout 59 mechanism. 60--> 61<!ELEMENT layout (region|root-layout)> 62<!ATTLIST layout 63 %id-attr; 64 type CDATA "text/smil-basic-layout" 65> 66 67 68<!--=================== Region Element ===================================--> 69<!ENTITY % viewport-attrs " 70 height CDATA #IMPLIED 71 width CDATA #IMPLIED 72 background-color CDATA #IMPLIED 73"> 74 75<!ELEMENT region EMPTY> 76<!ATTLIST region 77 %id-attr; 78 %title-attr; 79 %viewport-attrs; 80 left CDATA "0" 81 top CDATA "0" 82 z-index CDATA "0" 83 fit (hidden|fill|meet|scroll|slice) "hidden" 84 %skip-attr; 85> 86 87<!--=================== Root-layout Element ================================--> 88<!ELEMENT root-layout EMPTY> 89<!ATTLIST root-layout 90 %id-attr; 91 %title-attr; 92 %viewport-attrs; 93 %skip-attr; 94> 95 96 97<!--=================== Meta Element=======================================--> 98<!ELEMENT meta EMPTY> 99<!ATTLIST meta 100 name NMTOKEN #REQUIRED 101 content CDATA #REQUIRED 102 %skip-attr; 103> 104 105<!--=================== The Document Body =================================--> 106<!ENTITY % media-object "audio|video|text|img|animation|textstream|ref"> 107<!ENTITY % schedule "par|seq|(%media-object;)"> 108<!ENTITY % inline-link "a"> 109<!ENTITY % assoc-link "anchor"> 110<!ENTITY % link "%inline-link;"> 111<!ENTITY % container-content "(%schedule;)|switch|(%link;)"> 112<!ENTITY % body-content "(%container-content;)"> 113 114<!ELEMENT body (%body-content;)*> 115<!ATTLIST body %id-attr;> 116 117<!--=================== Synchronization Attributes ========================--> 118<!ENTITY % sync-attributes " 119 begin CDATA #IMPLIED 120 end CDATA #IMPLIED 121"> 122 123<!--=================== Switch Parameter Attributes =======================--> 124<!ENTITY % system-attribute " 125 system-bitrate CDATA #IMPLIED 126 system-language CDATA #IMPLIED 127 system-required NMTOKEN #IMPLIED 128 system-screen-size CDATA #IMPLIED 129 system-screen-depth CDATA #IMPLIED 130 system-captions (on|off) #IMPLIED 131 system-overdub-or-caption (caption|overdub) #IMPLIED 132"> 133 134<!--=================== Fill Attribute ====================================--> 135<!ENTITY % fill-attribute " 136 fill (remove|freeze) 'remove' 137"> 138 139 140<!--=================== The Parallel Element ==============================--> 141<!ENTITY % par-content "%container-content;"> 142<!ELEMENT par (%par-content;)*> 143<!ATTLIST par 144 %id-attr; 145 %desc-attr; 146 endsync CDATA "last" 147 dur CDATA #IMPLIED 148 repeat CDATA "1" 149 region IDREF #IMPLIED 150 %sync-attributes; 151 %system-attribute; 152> 153 154<!--=================== The Sequential Element ============================--> 155<!ENTITY % seq-content "%container-content;"> 156<!ELEMENT seq (%seq-content;)*> 157<!ATTLIST seq 158 %id-attr; 159 %desc-attr; 160 dur CDATA #IMPLIED 161 repeat CDATA "1" 162 region IDREF #IMPLIED 163 %sync-attributes; 164 %system-attribute; 165> 166 167<!--=================== The Switch Element ================================--> 168<!-- In the head, a switch may contain only layout elements, 169 in the body, only container elements. However, this 170 constraint cannot be expressed in the DTD (?), so 171 we allow both: 172--> 173<!ENTITY % switch-content "layout|(%container-content;)"> 174<!ELEMENT switch (%switch-content;)*> 175<!ATTLIST switch 176 %id-attr; 177 %title-attr; 178> 179 180<!--=================== Media Object Elements =============================--> 181<!-- SMIL only defines the structure. The real media data is 182 referenced by the src attribute of the media objects. 183--> 184 185<!-- Furthermore, they have the following attributes as defined 186 in the SMIL specification: 187--> 188<!ENTITY % mo-attributes " 189 %id-attr; 190 %desc-attr; 191 region IDREF #IMPLIED 192 alt CDATA #IMPLIED 193 longdesc CDATA #IMPLIED 194 src CDATA #IMPLIED 195 type CDATA #IMPLIED 196 dur CDATA #IMPLIED 197 repeat CDATA '1' 198 %fill-attribute; 199 %sync-attributes; 200 %system-attribute; 201"> 202 203<!-- 204 Most info is in the attributes, media objects are empty or 205 contain associated link elements: 206--> 207<!ENTITY % mo-content "(%assoc-link;)*"> 208<!ENTITY % clip-attrs " 209 clip-begin CDATA #IMPLIED 210 clip-end CDATA #IMPLIED 211"> 212 213<!ELEMENT ref %mo-content;> 214<!ELEMENT audio %mo-content;> 215<!ELEMENT img %mo-content;> 216<!ELEMENT video %mo-content;> 217<!ELEMENT text %mo-content;> 218<!ELEMENT textstream %mo-content;> 219<!ELEMENT animation %mo-content;> 220 221<!ATTLIST ref %mo-attributes; %clip-attrs;> 222<!ATTLIST audio %mo-attributes; %clip-attrs;> 223<!ATTLIST video %mo-attributes; %clip-attrs;> 224<!ATTLIST animation %mo-attributes; %clip-attrs;> 225<!ATTLIST textstream %mo-attributes; %clip-attrs;> 226<!ATTLIST text %mo-attributes;> 227<!ATTLIST img %mo-attributes;> 228 229<!--=================== Link Elements =====================================--> 230 231<!ENTITY % smil-link-attributes " 232 %id-attr; 233 %title-attr; 234 href CDATA #REQUIRED 235 show (replace|new|pause) 'replace' 236"> 237 238 239<!--=================== Inline Link Element ===============================--> 240<!ELEMENT a (%schedule;|switch)*> 241<!ATTLIST a 242 %smil-link-attributes; 243> 244 245 246<!--=================== Associated Link Element ===========================--> 247<!ELEMENT anchor EMPTY> 248<!ATTLIST anchor 249 %skip-attr; 250 %smil-link-attributes; 251 %sync-attributes; 252 coords CDATA #IMPLIED 253> 254 255