att.datable.w3c
att.datable.w3c 提供用於元素規格化的屬性,這些元素包含以W3C datatypes所定義的日期明確之事件。 [3.6.4 Dates and Times 14.4 Dates]<a href="https://translate.tei-c.org/translate.html?edit=att.datable.w3c.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a> | |||||||||||||||||||||||||||||||||||||
組件 | tei — The TEI Infrastructure | ||||||||||||||||||||||||||||||||||||
成員 | att.datable [att.gaijiProp [localProp unicodeProp unihanProp] acquisition affiliation age altIdentifier application author binding birth bloc change climate conversion country creation custEvent date death district docDate editor education event eventName faith floruit funder gender geogFeat geogName idno langKnowledge langKnown licence location mapping meeting name nationality objectName occupation offset orgName origDate origPlace origin persName persPronouns placeName population post precision principal provenance region relation residence resp seal settlement sex socecStatus sponsor stamp state terrain time title trait unitDecl unitDef] | ||||||||||||||||||||||||||||||||||||
屬性 |
|
||||||||||||||||||||||||||||||||||||
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> |
||||||||||||||||||||||||||||||||||||
例子 |