3 media="application/smil"
4 description="Synchronized Multimedia Integration Language"
9 This is the XML document type definition (DTD) for SMIL 1.0.
11 Date: 1998/06/15 08:56:30
14 Jacco van Ossenbruggen <jrvosse@cwi.nl>
15 Sjoerd Mullender <sjoerd@cwi.nl>
17 Further information about SMIL is available at:
19 http://www.w3.org/AudioVideo/
24 <!-- Generally useful entities -->
25 <!ENTITY % id-attr "id ID #IMPLIED">
26 <!ENTITY % title-attr "title CDATA #IMPLIED">
27 <!ENTITY % skip-attr "skip-content (true|false) 'true'">
28 <!ENTITY % desc-attr "
30 abstract CDATA #IMPLIED
32 copyright CDATA #IMPLIED
35 <!--=================== SMIL Document =====================================-->
37 The root element SMIL contains all other elements.
39 <!ELEMENT smil (head?,body?)>
44 <!--=================== The Document Head =================================-->
45 <!ENTITY % layout-section "layout|switch">
47 <!ENTITY % head-element "(meta*,((%layout-section;), meta*))?">
49 <!ELEMENT head %head-element;>
50 <!ATTLIST head %id-attr;>
53 <!--=================== Layout Element ====================================-->
55 Layout contains the region and root-layout elements defined by
56 smil-basic-layout or other elements defined an external layout
59 <!ELEMENT layout (region|root-layout)>
62 type CDATA "text/smil-basic-layout"
66 <!--=================== Region Element ===================================-->
67 <!ENTITY % viewport-attrs "
70 background-color CDATA #IMPLIED
73 <!ELEMENT region EMPTY>
81 fit (hidden|fill|meet|scroll|slice) "hidden"
85 <!--=================== Root-layout Element ================================-->
86 <!ELEMENT root-layout EMPTY>
95 <!--=================== Meta Element=======================================-->
98 name NMTOKEN #REQUIRED
99 content CDATA #REQUIRED
103 <!--=================== The Document Body =================================-->
104 <!ENTITY % media-object "audio|video|text|img|animation|textstream|ref">
105 <!ENTITY % schedule "par|seq|(%media-object;)">
106 <!ENTITY % inline-link "a">
107 <!ENTITY % assoc-link "anchor">
108 <!ENTITY % link "%inline-link;">
109 <!ENTITY % container-content "(%schedule;)|switch|(%link;)">
110 <!ENTITY % body-content "(%container-content;)">
112 <!ELEMENT body (%body-content;)*>
113 <!ATTLIST body %id-attr;>
115 <!--=================== Synchronization Attributes ========================-->
116 <!ENTITY % sync-attributes "
121 <!--=================== Switch Parameter Attributes =======================-->
122 <!ENTITY % system-attribute "
123 system-bitrate CDATA #IMPLIED
124 system-language CDATA #IMPLIED
125 system-required NMTOKEN #IMPLIED
126 system-screen-size CDATA #IMPLIED
127 system-screen-depth CDATA #IMPLIED
128 system-captions (on|off) #IMPLIED
129 system-overdub-or-caption (caption|overdub) #IMPLIED
132 <!--=================== Fill Attribute ====================================-->
133 <!ENTITY % fill-attribute "
134 fill (remove|freeze) 'remove'
138 <!--=================== The Parallel Element ==============================-->
139 <!ENTITY % par-content "%container-content;">
140 <!ELEMENT par (%par-content;)*>
147 region IDREF #IMPLIED
152 <!--=================== The Sequential Element ============================-->
153 <!ENTITY % seq-content "%container-content;">
154 <!ELEMENT seq (%seq-content;)*>
160 region IDREF #IMPLIED
165 <!--=================== The Switch Element ================================-->
166 <!-- In the head, a switch may contain only layout elements,
167 in the body, only container elements. However, this
168 constraint cannot be expressed in the DTD (?), so
171 <!ENTITY % switch-content "layout|(%container-content;)">
172 <!ELEMENT switch (%switch-content;)*>
178 <!--=================== Media Object Elements =============================-->
179 <!-- SMIL only defines the structure. The real media data is
180 referenced by the src attribute of the media objects.
183 <!-- Furthermore, they have the following attributes as defined
184 in the SMIL specification:
186 <!ENTITY % mo-attributes "
189 region IDREF #IMPLIED
191 longdesc CDATA #IMPLIED
202 Most info is in the attributes, media objects are empty or
203 contain associated link elements:
205 <!ENTITY % mo-content "(%assoc-link;)*">
206 <!ENTITY % clip-attrs "
207 clip-begin CDATA #IMPLIED
208 clip-end CDATA #IMPLIED
211 <!ELEMENT ref %mo-content;>
212 <!ELEMENT audio %mo-content;>
213 <!ELEMENT img %mo-content;>
214 <!ELEMENT video %mo-content;>
215 <!ELEMENT text %mo-content;>
216 <!ELEMENT textstream %mo-content;>
217 <!ELEMENT animation %mo-content;>
219 <!ATTLIST ref %mo-attributes; %clip-attrs;>
220 <!ATTLIST audio %mo-attributes; %clip-attrs;>
221 <!ATTLIST video %mo-attributes; %clip-attrs;>
222 <!ATTLIST animation %mo-attributes; %clip-attrs;>
223 <!ATTLIST textstream %mo-attributes; %clip-attrs;>
224 <!ATTLIST text %mo-attributes;>
225 <!ATTLIST img %mo-attributes;>
227 <!--=================== Link Elements =====================================-->
229 <!ENTITY % smil-link-attributes "
233 show (replace|new|pause) 'replace'
237 <!--=================== Inline Link Element ===============================-->
238 <!ELEMENT a (%schedule;|switch)*>
240 %smil-link-attributes;
244 <!--=================== Associated Link Element ===========================-->
245 <!ELEMENT anchor EMPTY>
248 %smil-link-attributes;
250 coords CDATA #IMPLIED