<timeline>

<timeline> (timeline) provides a set of ordered points in time which can be linked to elements of a spoken text to create a temporal alignment of that text. 16.5.2 Placing Synchronous Events in Time
Modulelinking — 16 Linking, Segmentation, and Alignment
AttributesIn addition to global attributes
origindesignates the origin of the timeline, i.e. the time at which it begins.
Status Required
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Values must point either to one of the when elements in its content, or to another timeline element.
Note
If the absolute value for the time of origin is not known, an arbitrary time (such as 00:00) should be used.
unitspecifies the unit of time corresponding to the interval value of the timeline or of its constituent points in time.
Status Required when applicable
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Suggested values include:
d
(days)
h
(hours)
min
(minutes)
s
(seconds)
ms
(milliseconds)
intervalspecifies the numeric portion of a time interval
Status Optional
Datatype

<rng:choice>
<rng:data type="float">
 <rng:param name="minExclusive">0</rng:param>
</rng:data>
<rng:value>regular</rng:value>
<rng:value>irregular</rng:value>
</rng:choice>
xsd:float { minExclusive = "0" } | "regular" | "irregular"
Values a positive number, or one of the two special values irregular or regular.
Note
The value irregular indicates uncertainty about all the intervals in the timeline; the value regular indicates that all the intervals are evenly spaced, but the size of the intervals is not known; numeric values indicate evenly spaced values of the size specified. If individual points in time in the timeline are given different values for the interval attribute, those values locally override the value given in the timeline.
Used by model.global.meta
May contain
linking: when
Declaration

<rng:element name="timeline">
<rng:ref name="att.global.attributes"/>
<rng:attribute name="origin">
 <rng:ref name="data.pointer"/>
</rng:attribute>
<rng:optional>
 <rng:attribute name="unit">
  <rng:choice>
   <rng:value>d</rng:value>
   <rng:value>h</rng:value>
   <rng:value>min</rng:value>
   <rng:value>s</rng:value>
   <rng:value>ms</rng:value>
   <rng:data type="Name"/>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="interval">
  <rng:choice>
   <rng:data type="float">
    <rng:param name="minExclusive">0</rng:param>
   </rng:data>
   <rng:value>regular</rng:value>
   <rng:value>irregular</rng:value>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:oneOrMore>
 <rng:ref name="when"/>
</rng:oneOrMore>
</rng:element>
element timeline
{
   att.global.attributes,
   attribute origin { data.pointer },
   attribute unit { "d" | "h" | "min" | "s" | "ms" | xsd:Name }?,
   attribute interval
   {
      xsd:float { minExclusive = "0" } | "regular" | "irregular"
   }?,
   when+
}
Example
<timeline xml:id="TL01origin="#TL-w0unit="ms">
 <when xml:id="TL-w0absolute="11:30:00"/>
 <when xml:id="TL-w1interval="unknownsince="#TL-w0"/>
 <when xml:id="TL-w2interval="100since="#TL-w1"/>
 <when xml:id="TL-w3interval="200since="#TL-w2"/>
 <when xml:id="TL-w4interval="150since="#TL-w3"/>
 <when xml:id="TL-w5interval="250since="#TL-w4"/>
 <when xml:id="TL-w6interval="100since="#TL-w5"/>
</timeline>
Note
one or more points in time, one of which is its origin