<specDesc>

<specDesc> (元素或元素集描述) 指出指定元素或元素集的描述應在此包括在文件中。 [23.1.2 Element and Attribute Descriptions]<a href="https://translate.tei-c.org/translate.html?edit=specDesc.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>
組件 tagdocs — Documentation Elements
屬性
key⚓︎ (識別符碼) 提供文件元素或元素集的識別符碼。
狀態 必備的
資料類型 teidata.name
<specDesc key="emph"/>
atts⚓︎ (屬性) 提供其屬性描述應另外包含的屬性名稱。
狀態 推薦的
資料類型 0–∞ 次可出現: teidata.name 以空白鍵隔開
<specDesc key="foreign"
 atts="usage xml:lang"/>
俱乐部会员
可包含在於
analysis: cl phr s
cmc: post
figures: cell
linking: ab seg
spoken: u writing
tagdocs: eg specList
textcrit: lem rdg wit witDetail
verse: rhyme
可包含 空白元素

The description is usually displayed as a label and an item. The list of attributes may include some which are inherited by virtue of an element's class membership; descriptions for such attributes may also be retrieved using another specDesc, this time pointing at the relevant class.

例子
<specDesc key="orth"/>
例子
<specDesc key="emph"/>
例子
<specDesc key="foreign"
 atts="usage xml:lang"/>
Content model
<content>
 <empty/>
</content>
宣告
<rng:element name="specDesc">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:attribute name="key">
  <rng:ref name="teidata.name"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="atts">
   <rng:list>
    <rng:zeroOrMore>
     <rng:ref name="teidata.name"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element specDesc
{
   att.global.attributes,
   att.global.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute key { teidata.name },
   attribute atts { list { teidata.name* } }?,
   empty
}