[ttml2] add missing isd example file
authorGlenn Adams <glenn@skynav.com>
Wed, 14 Jan 2015 19:34:08 -0700
changeset 840 a5843d9ba23a
parent 839 303566a2b384
child 841 abebbd0a303b
[ttml2] add missing isd example file
ttml2/spec/examples/ex4.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ttml2/spec/examples/ex4.xml	Wed Jan 14 19:34:08 2015 -0700
@@ -0,0 +1,24 @@
+<isd:sequence xmlns:isd="http://www.w3.org/ns/ttml#isd" xml:lang="en" xmlns:tts="http://www.w3.org/ns/ttml#styling">
+  <isd:isd begin="1s" end="2s">
+    <isd:css xml:id="s0" tts:origin="10% 10%" tts:extent="80% 20%"/>
+    <isd:css xml:id="s1" tts:origin="10% 70%" tts:extent="80% 20%"/>
+    <isd:css xml:id="s2" tts:fontSize="10px" tts:color="orange"/>
+    <isd:css xml:id="s3" tts:fontSize="10px" tts:color="purple"/>
+    <isd:region xml:id="r0" style="s0">
+      <body xmlns="http://www.w3.org/ns/ttml">
+        <div>
+          <p style="s2">Text 1</p>
+          <p style="s3">Text 2</p>
+        </div>
+      </body>
+    </isd:region>
+    <isd:region xml:id="r1" style="s1">
+      <body xmlns="http://www.w3.org/ns/ttml">
+        <div>
+          <p style="s2">Text 3</p>
+          <p style="s3">Text 4</p>
+        </div>
+      </body>
+    </isd:region>
+  </isd:isd>
+</isd:sequence>