]> granicus.if.org Git - docbook-dsssl/commitdiff
- Fix mediaobject semantics
authorGábor Kövesdán <gabor@kovesdan.org>
Thu, 30 Aug 2012 20:05:12 +0000 (20:05 +0000)
committerGábor Kövesdán <gabor@kovesdan.org>
Thu, 30 Aug 2012 20:05:12 +0000 (20:05 +0000)
  (dbs:incremental and dbs:style can be put into any common ancestor
  so a dbs:block can also be used to carry these attributes and it
  does not violate DocBook semantics.)

slides/doc/slides.xml

index 2c0106e7687eaad09b2e4e2bfcf56ddeff1f7b12..5e357f468b2c955c53af7ac4974b4a713b847b5f 100644 (file)
       </info>
       
       <para>This is only supported in XHTML-based output.</para>
-      
-      <mediaobject dbs:incremental="1" dbs:style="face_container">
-        <imageobject>
-         <imagedata dbs:style="face_first" fileref="images/face1.gif"/>
-       </imageobject>
-
-        <imageobject>
-         <imagedata dbs:style="face_other" fileref="images/face2.gif"/>
-       </imageobject>
-       
-        <imageobject>
-         <imagedata dbs:style="face_other" fileref="images/face3.gif"/>
-       </imageobject>
-
-        <imageobject>
-         <imagedata dbs:style="face_other" fileref="images/face4.gif"/>
-       </imageobject>
-      </mediaobject>
+
+      <dbs:block dbs:incremental="1" dbs:style="face_container">
+        <mediaobject>
+          <imageobject>
+           <imagedata dbs:style="face_first" fileref="images/face1.gif"/>
+         </imageobject>
+        </mediaobject>
+
+        <mediaobject>
+          <imageobject>
+           <imagedata dbs:style="face_other" fileref="images/face2.gif"/>
+         </imageobject>
+        </mediaobject>
+
+        <mediaobject>  
+          <imageobject>
+           <imagedata dbs:style="face_other" fileref="images/face3.gif"/>
+         </imageobject>
+        </mediaobject>
+
+        <mediaobject>
+          <imageobject>
+           <imagedata dbs:style="face_other" fileref="images/face4.gif"/>
+         </imageobject>
+        </mediaobject>
+      </dbs:block>
     </dbs:foil>
     
     <dbs:foil>