<when>

<when> proporciona una indicación temporal en términos relativos respecto a otros elementos determinados sobre la misma escala temporal, o en términos absolutos. 16.5.2 Placing Synchronous Events in Time
Módulolinking — 16 Linking, Segmentation, and Alignment
Atributos
absoluteproporciona un valor temporal absoluto
Estado Necesario cuando se aplica
Tipo de datos
data.temporal.w3c
Valores Times may be given in standard form, as specified in the Encoding Declarations section of the header.
Nota
Required for the element designated as the value of the origin attribute in the timeline tag.
unitespecifica la unidad temporal en la que se expresa el valor interval, si este valor no es heredado del padre <timeline>.
Estado Necesario cuando se aplica
Tipo de datos
data.enumerated
Suggested values include:
d
(días)
h
(horas)
min
(minutes)
s
(segundos)
ms
(milésimas de segundo)
intervalespecifica los componentes numéricos de un intervalo temporal.
Estado Necesario cuando se aplica
Tipo de datos
xsd:float { minExclusive = "0" } | "unknown"
Valores a positive number, or the special value unknown.
Nota
The value unknown indicates uncertainty about the interval.
sinceidentifica el punto de referencia para la determinación del valor temporal del elemento <when> (cuando) en cuestión, obtenido añadiendo el intervalo al punto de referencia temporal.
Estado Necesario cuando se aplica
Tipo de datos
data.pointer
Valores Should point to another <when> element in the same <timeline>.
Nota
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.
Used bytimeline
May containEmpty element
Declaración
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
}
Ejemplo
<when xml:id="TW3interval="20since="#w2"/>
Nota
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.