<variantEncoding>

<variantEncoding> (variant encoding) declares the method used to encode text-critical variants. [12.1.1 The Apparatus Entry]
Module textcrit — Critical Apparatus
Attributes
method⚓︎ indicates which method is used to encode the apparatus of variants.
Status Required
Datatype teidata.enumerated
Legal values are:
location-referenced
apparatus uses line numbers or other canonical reference scheme referenced in a base text.
double-end-point
apparatus indicates the precise locations of the beginning and ending of each lemma relative to a base text.
parallel-segmentation
alternate readings of a passage are given in parallel in the text; no notion of a base text is necessary.
Note

The value ‘parallel-segmentation’ requires in-line encoding of the apparatus.

location⚓︎ indicates whether the apparatus appears within the running text or external to it.
Status Required
Datatype teidata.enumerated
Schematron

<sch:rule context="tei:variantEncoding">
<sch:report test="@location eq 'external' and @method eq 'parallel-segmentation'"> The @location value "external" is inconsistent with the
parallel-segmentation method of apparatus markup.</sch:report>
</sch:rule>
Legal values are:
internal
apparatus appears within the running text.
external
apparatus appears outside the base text.
Note

The value ‘external’ is inconsistent with the parallel-segmentation method of apparatus markup.

Member of
Contained by
header: encodingDesc
May contain Empty element
Example
<variantEncoding method="location-referenced"
 location="external"/>
Content model
<content>
 <empty/>
</content>
Schema Declaration
<rng:element name="variantEncoding">
 <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:attribute name="method">
  <rng:choice>
   <rng:value>location-referenced</rng:value>
   <rng:value>double-end-point</rng:value>
   <rng:value>parallel-segmentation</rng:value>
  </rng:choice>
 </rng:attribute>
 <rng:attribute name="location">
  <rng:choice>
   <rng:value>internal</rng:value>
   <rng:value>external</rng:value>
  </rng:choice>
 </rng:attribute>
 <rng:empty/>
</rng:element>
element variantEncoding
{
   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 method
   {
      "location-referenced" | "double-end-point" | "parallel-segmentation"
   },
   attribute location { "internal" | "external" },
   empty
}