<textLang>

<textLang> 描述手稿中所使用的語言和書寫系統 (相對於其描述時使用的<語言使用>元素) 。 [3.11.2.4 Imprint, Size of a Document, and Reprint Information 10.6.6 Languages and Writing Systems]
組件core — Elements Available in All TEI Documents
屬性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
mainLang提供一代碼,識別手稿中使用的主要語言。
狀態 非必備的
資料類型 teidata.language
otherLangs一個或多個代碼識別手稿中使用的任何其他語言。
狀態 非必備的
資料類型 0–∞ 次可出現: teidata.language 以空白鍵隔開
俱乐部会员
可包含在於
可包含

This element should not be used to document the languages or writing systems used for the bibliographic or manuscript description itself: as for all other TEI elements, such information should be provided by means of the global xml:lang attribute attached to the element containing the description.

In all cases, languages should be identified by means of a standardized ‘language tag’ generated according to BCP 47. Additional documentation for the language may be provided by a language element in the TEI header.

例子
<textLang mainLang="enotherLangs="la"> 主要為英文,摻以拉丁字彙。</textLang>
Content model
<content>
 <macroRef key="macro.phraseSeq"/>
</content>
宣告
<rng:element name="textLang">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="mainLang">
   <rng:ref name="teidata.language"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="otherLangs">
   <rng:list>
    <rng:zeroOrMore>
     <rng:ref name="teidata.language"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element textLang
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute mainLang { teidata.language }?,
   attribute otherLangs { list { teidata.language* } }?,
   macro.phraseSeq
}