att.datable.w3c
att.datable.w3c provides attributes for normalization of elements that contain datable events conforming to the W3C XML Schema Part 2: Datatypes Second Edition. [3.5.4 Dates and Times 13.3.6 Dates and Times] | |||||||||||||||||||||||||||||||||||||
Module | tei — The TEI Infrastructure | ||||||||||||||||||||||||||||||||||||
Members | att.datable [acquisition affiliation age application binding birth bloc change climate country creation custEvent date death district education event faith floruit geogFeat geogName langKnowledge langKnown licence location name nationality occupation offset orgName origDate origPlace origin persName placeName population precision provenance region relation residence resp seal settlement sex socecStatus stamp state terrain time trait] | ||||||||||||||||||||||||||||||||||||
Attributes | Attributes
| ||||||||||||||||||||||||||||||||||||
Schematron | <sch:rule context="tei:*[@when]"> <sch:report test="@notBefore|@notAfter|@from|@to" role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report> </sch:rule> | ||||||||||||||||||||||||||||||||||||
Schematron | <sch:rule context="tei:*[@from]"> <sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report> </sch:rule> | ||||||||||||||||||||||||||||||||||||
Schematron | <sch:rule context="tei:*[@to]"> <sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report> </sch:rule> | ||||||||||||||||||||||||||||||||||||
Example | <date from="1863-05-28" to="1863-06-01">28 May through 1 June 1863</date> | ||||||||||||||||||||||||||||||||||||
Note | The value of these attributes should be a normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by XML Schema Part 2: Datatypes Second Edition, using the Gregorian calendar. The most commonly-encountered format for the date portion of a temporal attribute is Note that this format does not currently permit use of the value 0000 to represent the year 1 BCE; instead the value -0001 should be used. |