update examples
authorGlenn Adams <glenn@skynav.com>
Mon, 04 May 2009 12:00:09 +0000
changeset 113 2e3d55402b30
parent 112 66f79fb1f0db
child 114 0248f03d5995
update examples
spec/examples/ex1-p-0.xml
spec/examples/ex1-x-0.xml
spec/examples/ex1-x-1.xml
spec/examples/ex1-x-2.xml
spec/examples/ex1.xml
--- a/spec/examples/ex1-p-0.xml	Mon May 04 11:56:58 2009 +0000
+++ b/spec/examples/ex1-p-0.xml	Mon May 04 12:00:09 2009 +0000
@@ -1,7 +1,7 @@
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
   <fo:layout-master-set>
     <fo:simple-page-master master-name="m1"
-    page-width="640px" page-height="480px">
+      page-width="640px" page-height="480px">
       <fo:region-body/>
     </fo:simple-page-master>
   </fo:layout-master-set>
@@ -9,8 +9,8 @@
     <fo:flow flow-name="xsl-region-body">
       <!-- region (r1) -->
       <fo:block-container id="r1" absolute-position="absolute"
-      left="10px" top="100px" width="620px" height="96px"
-      background-color="black" display-align="center">
+        left="10px" top="100px" width="620px" height="96px"
+        background-color="black" display-align="center">
         <!-- body (b1) -->
         <fo:block id="b1-1">
           <!-- div (d1) -->
@@ -21,12 +21,17 @@
               color="red">Text 1</fo:inline>
             </fo:block>
           </fo:block>
+          <!-- body's space filler ->
+          <fo:block
+            space-after.optimum="96px"
+            space-after.maximum="96px"
+            space-after.conditionality="retain"/>
         </fo:block>
       </fo:block-container>
       <!-- region (r2) -->
       <fo:block-container id="r2" absolute-position="absolute"
-      left="10px" top="300px" width="620px" height="96px"
-      background-color="black" display-align="center">
+        left="10px" top="300px" width="620px" height="96px"
+        background-color="black" display-align="center">
         <!-- body (b1) -->
         <fo:block id="b1-2">
           <!-- div (d1) -->
@@ -37,6 +42,11 @@
               color="yellow">Text 2</fo:inline>
             </fo:block>
           </fo:block>
+          <!-- body's space filler ->
+          <fo:block
+            space-after.optimum="96px"
+            space-after.maximum="96px"
+            space-after.conditionality="retain"/>
         </fo:block>
       </fo:block-container>
     </fo:flow>
--- a/spec/examples/ex1-x-0.xml	Mon May 04 11:56:58 2009 +0000
+++ b/spec/examples/ex1-x-0.xml	Mon May 04 12:00:09 2009 +0000
@@ -1,5 +1,6 @@
-<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1"
-  xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
+<tt tts:extent="640px 480px" xml:lang="en"
+  xmlns="http://www.w3.org/2006/10/ttaf1"
+  xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
   <head>
     <layout>
       <region xml:id="r1">
@@ -11,7 +12,7 @@
         <style tts:color="red"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-1">
+        <body xml:id="b1-1">
           <div xml:id="d1-1">
             <p xml:id="p1">Text 1</p>
           </div>
@@ -26,7 +27,7 @@
         <style tts:color="yellow"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-2">
+        <body xml:id="b1-2">
           <div xml:id="d1-2">
             <p xml:id="p2">Text 2</p>
           </div>
--- a/spec/examples/ex1-x-1.xml	Mon May 04 11:56:58 2009 +0000
+++ b/spec/examples/ex1-x-1.xml	Mon May 04 12:00:09 2009 +0000
@@ -1,5 +1,6 @@
-<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1"
-  xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
+<tt tts:extent="640px 480px" xml:lang="en"
+  xmlns="http://www.w3.org/2006/10/ttaf1"
+  xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
   <head>
     <layout>
       <region xml:id="r1">
@@ -11,7 +12,7 @@
         <style tts:color="red"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-1">
+        <body xml:id="b1-1">
           <div xml:id="d1-1">
             <p xml:id="p1">Text 1</p>
           </div>
@@ -29,7 +30,7 @@
         <style tts:color="yellow"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-2">
+        <body xml:id="b1-2">
           <div xml:id="d1-2">
             <p xml:id="p2">Text 2</p>
           </div>
--- a/spec/examples/ex1-x-2.xml	Mon May 04 11:56:58 2009 +0000
+++ b/spec/examples/ex1-x-2.xml	Mon May 04 12:00:09 2009 +0000
@@ -1,5 +1,6 @@
-<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1"
-  xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
+<tt tts:extent="640px 480px" xml:lang="en"
+  xmlns="http://www.w3.org/2006/10/ttaf1"
+  xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
   <head>
     <layout>
       <region xml:id="r1">
@@ -11,7 +12,7 @@
         <style tts:color="red"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-1">
+        <body xml:id="b1-1">
           <div xml:id="d2-1">
             <p xml:id="p4">Text 4</p>
           </div>
@@ -26,7 +27,7 @@
         <style tts:color="yellow"/>
         <style tts:textAlign="center"/>
         <style tts:displayAlign="center"/>
-        <body tts:extent="640px 480px" xml:id="b1-2">
+        <body xml:id="b1-2">
           <div xml:id="d2-2">
             <p xml:id="p3">Text 3</p>
           </div>
--- a/spec/examples/ex1.xml	Mon May 04 11:56:58 2009 +0000
+++ b/spec/examples/ex1.xml	Mon May 04 12:00:09 2009 +0000
@@ -1,5 +1,6 @@
-<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1"
-  xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
+<tt tts:extent="640px 480px" xml:lang="en"
+  xmlns="http://www.w3.org/2006/10/ttaf1"
+  xmlns:tts="http://www.w3.org/2006/10/ttaf1#styling">
   <head>
     <layout>
       <region xml:id="r1">
@@ -24,7 +25,7 @@
       </region>
     </layout>
   </head>
-  <body tts:extent="640px 480px" xml:id="b1">
+  <body xml:id="b1">
     <div xml:id="d1" begin="0s" dur="2s">
       <p xml:id="p1" region="r1">Text 1</p>
       <p xml:id="p2" region="r2">Text 2</p>