att.datable.w3c
att.datable.w3c 提供用於元素規格化的屬性,這些元素包含以W3C datatypes所定義的日期明確之事件。 [3.5.4 Dates and Times 13.3.7 Dates and Times] | |||||||||||||||||||||||||||||||||||||
組件 | tei — The TEI Infrastructure | ||||||||||||||||||||||||||||||||||||
成員 | att.datable [acquisition affiliation age application binding birth bloc change climate country creation custEvent date death district education event faith floruit geogFeat geogName idno langKnowledge langKnown licence location name nationality objectName occupation offset orgName origDate origPlace origin persName placeName population precision provenance region relation residence resp seal settlement sex socecStatus stamp state terrain time title trait] | ||||||||||||||||||||||||||||||||||||
屬性 | 屬性
| ||||||||||||||||||||||||||||||||||||
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> | ||||||||||||||||||||||||||||||||||||
例子 | <date from="1863-05-28" to="1863-06-01">28 May through 1 June 1863</date> |