Indicates a point in time either absolutely (using the absolute attribute), or relative to another when element (using the since, interval and inttype attributes). |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
absolute | optional |
|
|||||
abstype | mei:mei_data.BETYPE | optional |
|
||||
data | restriction of list of mei:mei_data.URI | optional |
|
||||
interval | union of(xs:time, restriction of xs:decimal) | optional |
|
||||
inttype | mei:mei_data.BETYPE | optional |
|
||||
label | xs:string | optional |
|
||||
n | optional |
|
|||||
since | mei:mei_data.URI | optional |
|
||||
xml:base | mei:mei_data.URI | optional |
|
||||
xml:id | xs:ID | optional |
|
Elements | mei:clip, mei:recording |
<xs:element name="when"> <xs:annotation> <xs:documentation>Indicates a point in time either absolutely (using the absolute attribute), or relative to another when element (using the since, interval and inttype attributes).</xs:documentation> </xs:annotation> <xs:complexType> <xs:attributeGroup ref="mei:mei_att.common.attributes"/> <xs:attributeGroup ref="mei:mei_att.datapointing.attributes"/> <xs:attribute name="absolute"> <xs:annotation> <xs:documentation>Provides an absolute value for the time point.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="interval"> <xs:annotation> <xs:documentation>Specifies the time interval between this time point and the one designated by the since attribute. This attribute can only be interpreted meaningfully in conjunction with the inttype attribute.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:union memberTypes="xs:time"> <xs:simpleType> <xs:restriction base="xs:decimal"> <xs:minInclusive value="1"/> </xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType> </xs:attribute> <xs:attribute name="abstype" type="mei:mei_data.BETYPE"> <xs:annotation> <xs:documentation>Specifies the kind of values used in the absolute attribute.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="inttype" type="mei:mei_data.BETYPE"> <xs:annotation> <xs:documentation>Specifies the kind of values used in the interval attribute.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="since" type="mei:mei_data.URI"> <xs:annotation> <xs:documentation>Identifies the reference point for determining the time of the current when element, which is obtained by adding the interval to the time of the reference point. The value should be the ID of another when element within the same parent element. If the since attribute is omitted and the absolute attribute is not specified, then the reference point is understood to be the immediately preceding when element.</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> |