Forgotten files.
[librarian.git] / src / librarian / res / daisy / smil10.dtd
diff --git a/src/librarian/res/daisy/smil10.dtd b/src/librarian/res/daisy/smil10.dtd
new file mode 100644 (file)
index 0000000..a7a5b1d
--- /dev/null
@@ -0,0 +1,245 @@
+<!--\r
+\r
+    This is the XML document type definition (DTD) for SMIL 1.0.\r
+\r
+    Date: 1998/06/15 08:56:30\r
+\r
+    Authors: \r
+       Jacco van Ossenbruggen <jrvosse@cwi.nl> \r
+       Sjoerd Mullender       <sjoerd@cwi.nl>\r
+       \r
+    Further information about SMIL is available at:\r
+\r
+          http://www.w3.org/AudioVideo/\r
+\r
+-->\r
+\r
+<!-- Generally useful entities -->\r
+<!ENTITY % id-attr "id ID #IMPLIED">\r
+<!ENTITY % title-attr "title CDATA #IMPLIED">\r
+<!ENTITY % skip-attr "skip-content (true|false) 'true'">\r
+<!ENTITY % desc-attr "\r
+        %title-attr;\r
+       abstract        CDATA   #IMPLIED\r
+       author          CDATA   #IMPLIED\r
+       copyright       CDATA   #IMPLIED\r
+">\r
+\r
+<!--=================== SMIL Document =====================================-->\r
+<!--\r
+     The root element SMIL contains all other elements.\r
+-->\r
+<!ELEMENT smil (head?,body?)>\r
+<!ATTLIST smil\r
+        %id-attr;\r
+>\r
+\r
+<!--=================== The Document Head =================================-->\r
+<!ENTITY % layout-section "layout|switch">\r
+\r
+<!ENTITY % head-element "(meta*,((%layout-section;), meta*))?">\r
+\r
+<!ELEMENT head %head-element;>\r
+<!ATTLIST head %id-attr;>\r
+\r
+\r
+<!--=================== Layout Element ====================================-->\r
+<!--\r
+     Layout contains the region and root-layout elements defined by\r
+     smil-basic-layout or other elements defined an external layout \r
+     mechanism.\r
+-->\r
+<!ELEMENT layout ANY>\r
+<!ATTLIST layout\r
+        %id-attr;\r
+        type CDATA      "text/smil-basic-layout"\r
+>\r
+\r
+\r
+<!--=================== Region Element ===================================-->\r
+<!ENTITY % viewport-attrs "\r
+        height              CDATA    #IMPLIED\r
+        width               CDATA    #IMPLIED\r
+       background-color    CDATA    #IMPLIED\r
+">\r
+\r
+<!ELEMENT region EMPTY>\r
+<!ATTLIST region\r
+        %id-attr;\r
+        %title-attr;\r
+        %viewport-attrs;\r
+        left                CDATA    "0"\r
+        top                 CDATA    "0"\r
+        z-index             CDATA    "0"\r
+        fit                 (hidden|fill|meet|scroll|slice)    "hidden"\r
+        %skip-attr;\r
+>\r
+\r
+<!--=================== Root-layout Element ================================-->\r
+<!ELEMENT root-layout EMPTY>\r
+<!ATTLIST root-layout\r
+        %id-attr;\r
+        %title-attr;\r
+        %viewport-attrs;\r
+        %skip-attr;\r
+>\r
+\r
+\r
+<!--=================== Meta Element=======================================-->\r
+<!ELEMENT meta EMPTY>\r
+<!ATTLIST meta\r
+        name    NMTOKEN #REQUIRED\r
+        content CDATA   #REQUIRED\r
+       %skip-attr;\r
+>\r
+\r
+<!--=================== The Document Body =================================-->\r
+<!ENTITY % media-object "audio|video|text|img|animation|textstream|ref">\r
+<!ENTITY % schedule "par|seq|(%media-object;)">\r
+<!ENTITY % inline-link "a">\r
+<!ENTITY % assoc-link "anchor">\r
+<!ENTITY % link "%inline-link;">\r
+<!ENTITY % container-content "(%schedule;)|switch|(%link;)">\r
+<!ENTITY % body-content "(%container-content;)">\r
+\r
+<!ELEMENT body (%body-content;)*>\r
+<!ATTLIST body %id-attr;>\r
+\r
+<!--=================== Synchronization Attributes ========================-->\r
+<!ENTITY % sync-attributes "\r
+        begin   CDATA   #IMPLIED\r
+        end     CDATA   #IMPLIED\r
+">\r
+\r
+<!--=================== Switch Parameter Attributes =======================-->\r
+<!ENTITY % system-attribute "\r
+        system-bitrate             CDATA                #IMPLIED\r
+        system-language            CDATA                #IMPLIED\r
+        system-required            NMTOKEN              #IMPLIED\r
+        system-screen-size         CDATA                #IMPLIED\r
+        system-screen-depth        CDATA                #IMPLIED\r
+       system-captions            (on|off)             #IMPLIED\r
+       system-overdub-or-caption  (caption|overdub)    #IMPLIED\r
+">\r
+\r
+<!--=================== Fill Attribute ====================================-->\r
+<!ENTITY % fill-attribute "\r
+        fill    (remove|freeze)    'remove'\r
+">\r
+\r
+\r
+<!--=================== The Parallel Element ==============================-->\r
+<!ENTITY % par-content "%container-content;">\r
+<!ELEMENT par    (%par-content;)*>\r
+<!ATTLIST par\r
+        %id-attr;\r
+       %desc-attr;\r
+        endsync CDATA           "last"\r
+        dur     CDATA           #IMPLIED\r
+        repeat  CDATA           "1"\r
+        region  IDREF           #IMPLIED\r
+        %sync-attributes;\r
+        %system-attribute;\r
+>\r
+\r
+<!--=================== The Sequential Element ============================-->\r
+<!ENTITY % seq-content "%container-content;">\r
+<!ELEMENT seq    (%seq-content;)*>\r
+<!ATTLIST seq\r
+        %id-attr;\r
+       %desc-attr;\r
+        dur     CDATA           #IMPLIED\r
+        repeat  CDATA           "1"\r
+        region  IDREF           #IMPLIED\r
+        %sync-attributes;\r
+        %system-attribute;\r
+>\r
+\r
+<!--=================== The Switch Element ================================-->\r
+<!-- In the head, a switch may contain only layout elements,\r
+     in the body, only container elements. However, this\r
+     constraint cannot be expressed in the DTD (?), so\r
+     we allow both:\r
+-->\r
+<!ENTITY % switch-content "layout|(%container-content;)">\r
+<!ELEMENT switch (%switch-content;)*>\r
+<!ATTLIST switch\r
+        %id-attr;\r
+        %title-attr;\r
+>\r
+\r
+<!--=================== Media Object Elements =============================-->\r
+<!-- SMIL only defines the structure. The real media data is\r
+     referenced by the src attribute of the media objects.\r
+-->\r
+\r
+<!-- Furthermore, they have the following attributes as defined\r
+     in the SMIL specification:\r
+-->\r
+<!ENTITY % mo-attributes "\r
+        %id-attr;\r
+        %desc-attr;\r
+        region     IDREF           #IMPLIED\r
+        alt        CDATA           #IMPLIED\r
+        longdesc   CDATA           #IMPLIED\r
+        src        CDATA           #IMPLIED\r
+        type       CDATA           #IMPLIED\r
+        dur        CDATA           #IMPLIED\r
+        repeat     CDATA           '1'\r
+        %fill-attribute;\r
+        %sync-attributes;\r
+        %system-attribute;\r
+">\r
+\r
+<!--\r
+     Most info is in the attributes, media objects are empty or\r
+     contain associated link elements:\r
+-->\r
+<!ENTITY % mo-content "(%assoc-link;)*">\r
+<!ENTITY % clip-attrs "\r
+        clip-begin      CDATA   #IMPLIED\r
+        clip-end        CDATA   #IMPLIED\r
+">\r
+\r
+<!ELEMENT ref          %mo-content;>\r
+<!ELEMENT audio                %mo-content;>\r
+<!ELEMENT img          %mo-content;>\r
+<!ELEMENT video                %mo-content;>\r
+<!ELEMENT text         %mo-content;>\r
+<!ELEMENT textstream   %mo-content;>\r
+<!ELEMENT animation    %mo-content;>\r
+\r
+<!ATTLIST ref           %mo-attributes; %clip-attrs;>\r
+<!ATTLIST audio         %mo-attributes; %clip-attrs;>\r
+<!ATTLIST video         %mo-attributes; %clip-attrs;>\r
+<!ATTLIST animation     %mo-attributes; %clip-attrs;>\r
+<!ATTLIST textstream    %mo-attributes; %clip-attrs;>\r
+<!ATTLIST text          %mo-attributes;>\r
+<!ATTLIST img           %mo-attributes;>\r
+\r
+<!--=================== Link Elements =====================================-->\r
+\r
+<!ENTITY % smil-link-attributes "\r
+        %id-attr;\r
+        %title-attr;\r
+        href            CDATA                   #REQUIRED\r
+        show            (replace|new|pause)     'replace'\r
+">\r
+\r
+\r
+<!--=================== Inline Link Element ===============================-->\r
+<!ELEMENT a (%schedule;|switch)*>\r
+<!ATTLIST a\r
+        %smil-link-attributes;\r
+>\r
+\r
+\r
+<!--=================== Associated Link Element ===========================-->\r
+<!ELEMENT anchor EMPTY>\r
+<!ATTLIST anchor\r
+        %skip-attr;\r
+        %smil-link-attributes;\r
+        %sync-attributes;\r
+        coords          CDATA                   #IMPLIED\r
+>\r
+\r