<choice>

<choice> (choix) regroupe un certain nombre de balisages alternatifs possibles pour un même endroit dans un texte. [3.5 Simple Editorial Changes]
Module core — Elements Available in All TEI Documents
Attributs
Membre du
Contenu dans
analysis: cl pc phr s span w
cmc: post
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
Peut contenir
linking: seg
transcr: am ex supplied
Note

Parce que les éléments contenus par un élément choice correspondent tous à des solutions possibles pour encoder la même séquence, il est naturel de les envisager comme exclusifs les uns des autres. Toutefois il peut y avoir des cas où la pleine représentation d'un texte requiert de considérer ces encodages alternatifs comme parallèles.

A Noter aussi que les choice peuvent s'imbriquer.

Pour une version de choice spécialisée pour l'encodage de témoins multiples d'une même oeuvre, l'élément app peut etre préférable : voir la section 13.1 The Apparatus Entry, Readings, and Witnesses.

<a href="https://translate.tei-c.org/translate.html?edit=choice.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>
Exemple

L'encodage d'une édition des Essais pourra faire état à la fois des formes originales et des formes modernisées correspondantes:.

<p>Ainsi lecteur, je suis<choice>
  <orig>moy-mesmes</orig>
  <reg>moi-même</reg>
 </choice> la matière de mon livre : ce n'est pas raison que tu emploies ton loisir en un <choice>
  <orig>subject</orig>
  <reg>sujet</reg>
 </choice>si frivole et si vain.</p>
Modèle de contenu
<content>
 <alternate minOccurs="2"
  maxOccurs="unbounded">

  <classRef key="model.choicePart"/>
  <elementRef key="choice"/>
 </alternate>
</content>
Schéma Declaration
<rng:element name="choice">
 <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:ref name="att.cmc.attributes"/>
 <rng:choice>
  <rng:ref name="model.choicePart"/>
  <rng:ref name="choice"/>
 </rng:choice>
 <rng:choice>
  <rng:ref name="model.choicePart"/>
  <rng:ref name="choice"/>
 </rng:choice>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.choicePart"/>
   <rng:ref name="choice"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:element>
element choice
{
   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,
   att.cmc.attributes,
   ( model.choicePart | choice ),
   ( model.choicePart | choice ),
   ( model.choicePart | choice )*
}