<when>

<when> fornisce un'indicazione temporale in termini relativi, rispetto ad altri elementi determinati sulla stessa scala temporale, o in termini assoluti 16.5.2 Placing Synchronous Events in Time
Modulolinking — 16 Linking, Segmentation, and Alignment
Attributi
absoluteindica un valore temporale assoluto
Stato Richiesto se applicabile
Tipo di dati
data.temporal.w3c
Valori 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.
unitspecifica l'unità temporale nel quale è espresso l'attributo interval, se questo non è ereditato dal genitore <timeline>
Stato Richiesto se applicabile
Tipo di dati
data.enumerated
I valori suggeriti includono:
d
(giorni)
h
(ore)
min
(minuti)
s
(secondi)
ms
(millesimi di secondo)
intervalindica la componente numerica di un intervallo temporale
Stato Richiesto se applicabile
Tipo di dati
xsd:float { minExclusive = "0" } | "unknown"
Valori a positive number, or the special value unknown.
Nota
The value unknown indicates uncertainty about the interval.
sinceidentifica il punto di riferimento per la determinazione del valore temporale dell'elemento <when> corrente, ottenuto aggiungendo l'intervallo al punto di riferimento temporale
Stato Richiesto se applicabile
Tipo di dati
data.pointer
Valori 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.
Usato datimeline
Può contenereElemento vuoto
Dichiarazione
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
}
Esempio
<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.