<when>

<when> indique un point dans le temps, soit relatif à d'autres éléments de la même balise chronologique, soit dans l'absolu. 16.5.2 Placing Synchronous Events in Time
Modulelinking — 16 Linking, Segmentation, and Alignment
Attributs
absolutecontient une valeur temporelle absolue.
Statut Requis quand applicable
Type de données
data.temporal.w3c
Valeurs Times may be given in standard form, as specified in the Encoding Declarations section of the header.
Note
Required for the element designated as the value of the origin attribute in the timeline tag.
unitspécifie l'unité de temps dans laquelle la valeur de l'attribut interval est exprimée, si elle n'est pas héritée de l'élément parent <timeLine>.
Statut Requis quand applicable
Type de données
data.enumerated
Les valeurs suggérées comprennent:
d
(jours)
h
(heures)
min
(minutes)
s
(secondes)
ms
(millisecondes)
intervalspécifie la partie numérique d'un intervalle de temps.
Statut Requis quand applicable
Type de données
xsd:float { minExclusive = "0" } | "unknown"
Valeurs a positive number, or the special value unknown.
Note
The value unknown indicates uncertainty about the interval.
sinceidentifie le point de référence pour déterminer la date ou l'heure de l'élément courant <when> qui s'obtient en ajoutant la valeur de l'intervalle à la date du point de référence.
Statut Requis quand applicable
Type de données
data.pointer
Valeurs Should point to another <when> element in the same <timeline>.
Note
If this attribute is omitted, and the absolute attribute is not specified, then the reference point is understood to be the origin of the enclosing <timeline> tag.
Utilisé partimeline
Peut contenirElément vide
Declaration
element when
{
   att.global.attributes,
   attribute absolute { data.temporal.w3c }?,
   attribute unit { "d" | "h" | "min" | "s" | "ms" | xsd:Name }?,
   attribute interval { xsd:float { minExclusive = "0" } | "unknown" }?,
   attribute since { data.pointer }?,
   empty
}
Exemple
<when xml:id="TW3interval="20since="#w2"/>
Note
On this element, the global xml:id attribute must be supplied to specify an identifier for this point in time. The value used may be chosen freely provided that it is unique within the document and is a syntactically valid name. There is no requirement for values containing numbers to be in sequence.