<textLang>

<textLang> (lingua del testo) descrive le lingue e i sistemi di scrittura usati da un manoscritto (da non confondere con la descrizione contenuta nell'elemento langUsage [3.12.2.4 Imprint, Size of a Document, and Reprint Information 10.6.6 Languages and Writing Systems]
Modulo core — Elements Available in All TEI Documents
Attributi
mainLang⚓︎ (lingua principale) assegna un codice che identifica la lingua principale utilizzata nel manoscritto
Stato Opzionale
Tipo di dati teidata.language
otherLangs⚓︎ (altre lingue) uno o più codici che identificano eventuali altre lingue utilizzate nel manoscritto
Stato Opzionale
Tipo di dati 0–∞ occorrenze di teidata.language separato da spazio bianco
Membro del
Contenuto in
Può contenere
dictionaries: lang oRef pRef
gaiji: g
header: biblFull idno
iso-fs: fLib fs fvLib
textstructure: floatingText
verse: caesura rhyme
caratteri di testo
Nota

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.

Esempio
<textLang mainLang="enotherLangs="la"> Predominantly in English with Latin
glosses</textLang>
Content model
<content>
 <macroRef key="macro.specialPara"/>
</content>
Dichiarazione
<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.specialPara"/>
</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.specialPara
}