3 media="application/smil"
4 description="Synchronized Multimedia Integration Language"
12 This is the XML document type definition (DTD) for SMIL 1.0.
14 Date: 1998/06/15 08:56:30
17 Jacco van Ossenbruggen <jrvosse@cwi.nl>
18 Sjoerd Mullender <sjoerd@cwi.nl>
20 Further information about SMIL is available at:
22 http://www.w3.org/AudioVideo/
27 <!-- Generally useful entities -->
28 <!ENTITY % id-attr "id ID #IMPLIED">
29 <!ENTITY % title-attr "title CDATA #IMPLIED">
30 <!ENTITY % skip-attr "skip-content (true|false) 'true'">
31 <!ENTITY % desc-attr "
33 abstract CDATA #IMPLIED
35 copyright CDATA #IMPLIED
38 <!--=================== SMIL Document =====================================-->
40 The root element SMIL contains all other elements.
42 <!ELEMENT smil (head?,body?)>
47 <!--=================== The Document Head =================================-->
48 <!ENTITY % layout-section "layout|switch">
50 <!ENTITY % head-element "(meta*,((%layout-section;), meta*))?">
52 <!ELEMENT head %head-element;>
53 <!ATTLIST head %id-attr;>
56 <!--=================== Layout Element ====================================-->
58 Layout contains the region and root-layout elements defined by
59 smil-basic-layout or other elements defined an external layout
62 <!ELEMENT layout (region|root-layout)>
65 type CDATA "text/smil-basic-layout"
69 <!--=================== Region Element ===================================-->
70 <!ENTITY % viewport-attrs "
73 background-color CDATA #IMPLIED
76 <!ELEMENT region EMPTY>
84 fit (hidden|fill|meet|scroll|slice) "hidden"
88 <!--=================== Root-layout Element ================================-->
89 <!ELEMENT root-layout EMPTY>
98 <!--=================== Meta Element=======================================-->
101 name NMTOKEN #REQUIRED
102 content CDATA #REQUIRED
106 <!--=================== The Document Body =================================-->
107 <!ENTITY % media-object "audio|video|text|img|animation|textstream|ref">
108 <!ENTITY % schedule "par|seq|(%media-object;)">
109 <!ENTITY % inline-link "a">
110 <!ENTITY % assoc-link "anchor">
111 <!ENTITY % link "%inline-link;">
112 <!ENTITY % container-content "(%schedule;)|switch|(%link;)">
113 <!ENTITY % body-content "(%container-content;)">
115 <!ELEMENT body (%body-content;)*>
116 <!ATTLIST body %id-attr;>
118 <!--=================== Synchronization Attributes ========================-->
119 <!ENTITY % sync-attributes "
124 <!--=================== Switch Parameter Attributes =======================-->
125 <!ENTITY % system-attribute "
126 system-bitrate CDATA #IMPLIED
127 system-language CDATA #IMPLIED
128 system-required NMTOKEN #IMPLIED
129 system-screen-size CDATA #IMPLIED
130 system-screen-depth CDATA #IMPLIED
131 system-captions (on|off) #IMPLIED
132 system-overdub-or-caption (caption|overdub) #IMPLIED
135 <!--=================== Fill Attribute ====================================-->
136 <!ENTITY % fill-attribute "
137 fill (remove|freeze) 'remove'
141 <!--=================== The Parallel Element ==============================-->
142 <!ENTITY % par-content "%container-content;">
143 <!ELEMENT par (%par-content;)*>
150 region IDREF #IMPLIED
155 <!--=================== The Sequential Element ============================-->
156 <!ENTITY % seq-content "%container-content;">
157 <!ELEMENT seq (%seq-content;)*>
163 region IDREF #IMPLIED
168 <!--=================== The Switch Element ================================-->
169 <!-- In the head, a switch may contain only layout elements,
170 in the body, only container elements. However, this
171 constraint cannot be expressed in the DTD (?), so
174 <!ENTITY % switch-content "layout|(%container-content;)">
175 <!ELEMENT switch (%switch-content;)*>
181 <!--=================== Media Object Elements =============================-->
182 <!-- SMIL only defines the structure. The real media data is
183 referenced by the src attribute of the media objects.
186 <!-- Furthermore, they have the following attributes as defined
187 in the SMIL specification:
189 <!ENTITY % mo-attributes "
192 region IDREF #IMPLIED
194 longdesc CDATA #IMPLIED
205 Most info is in the attributes, media objects are empty or
206 contain associated link elements:
208 <!ENTITY % mo-content "(%assoc-link;)*">
209 <!ENTITY % clip-attrs "
210 clip-begin CDATA #IMPLIED
211 clip-end CDATA #IMPLIED
214 <!ELEMENT ref %mo-content;>
215 <!ELEMENT audio %mo-content;>
216 <!ELEMENT img %mo-content;>
217 <!ELEMENT video %mo-content;>
218 <!ELEMENT text %mo-content;>
219 <!ELEMENT textstream %mo-content;>
220 <!ELEMENT animation %mo-content;>
222 <!ATTLIST ref %mo-attributes; %clip-attrs;>
223 <!ATTLIST audio %mo-attributes; %clip-attrs;>
224 <!ATTLIST video %mo-attributes; %clip-attrs;>
225 <!ATTLIST animation %mo-attributes; %clip-attrs;>
226 <!ATTLIST textstream %mo-attributes; %clip-attrs;>
227 <!ATTLIST text %mo-attributes;>
228 <!ATTLIST img %mo-attributes;>
230 <!--=================== Link Elements =====================================-->
232 <!ENTITY % smil-link-attributes "
236 show (replace|new|pause) 'replace'
240 <!--=================== Inline Link Element ===============================-->
241 <!ELEMENT a (%schedule;|switch)*>
243 %smil-link-attributes;
247 <!--=================== Associated Link Element ===========================-->
248 <!ELEMENT anchor EMPTY>
251 %smil-link-attributes;
253 coords CDATA #IMPLIED