<tt xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"
    xmlns:ttp="http://www.w3.org/2006/10/ttaf1#parameter"
    xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
    xmlns="http://www.w3.org/ns/ttml"
    xmlns="http://www.w3.org/2006/10/ttaf1">
  <head>
    <styling>
      <style id="s0"
        tts:backgroundColor="blue"
        tts:color="black"
        tts:fontWeight="bold" />
      <style id="s1"
        tts:backgroundColor="black"
        tts:color="red"
        tts:fontFamily="sansSerif"
        tts:fontStyle="italic"
        tts:textDecoration="lineThrough" />
      <!-- multiple ids defined -->
      <style style="s0 s1" id="s2"
        tts:fontFamily="serif"
        tts:backgroundColor="red" />
      <style style="s1 s0" id="s3"
        tts:fontFamily="serif"
        tts:backgroundColor="red" />
    </styling>
  </head>
  <body>
    <div>
      <p style="s2" begin="10s" end="18s">text 1</p>
    </div>
  </body>
</tt>
