<variantEncoding>

<variantEncoding> declares the method used to encode text-critical variants. [12.1.1 The Apparatus Entry]
Moduletextcrit — Critical Apparatus
Attributesatt.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))
methodindicates which method is used to encode the apparatus of variants.
Status Required
Datatype

<rng:ref name="data.enumerated"/>
data.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.

locationindicates whether the apparatus appears within the running text or external to it.
Status Required
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Schematron

<sch:rule context="tei:variantEncoding">
<sch:assert test="(@location != 'external') or (@method != 'parallel-segmentation')"> The @location value "external" is inconsistent with the
parallel-segmentation method of apparatus markup.</sch:assert></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 containEmpty element
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:attribute name="method">
  <xhtml:dl class="valList"/>
 </rng:attribute>
 <rng:attribute name="location">
  <xhtml:dl class="valList"/>
 </rng:attribute>
 <xhtml:tr>
  <xhtml:td>[#variantEncodingLocation]</xhtml:td>
  <xhtml:td>
   <xhtml:div id="index-egXML-d372079e1"
    class="pre egXML_valid">

    <xhtml:span class="element"><constraint></xhtml:span>
    <xhtml:br/>
    <xhtml:span class="element"><sch:rule <xhtml:span class="attribute">context</xhtml:span>="<xhtml:span class="attributevalue">tei:variantEncoding</xhtml:span>"></xhtml:span>
    <xhtml:br/> <xhtml:span class="element"><sch:assert <xhtml:span class="attribute">test</xhtml:span>="<xhtml:span class="attributevalue">(@location != 'external') or (@method != 'parallel-segmentation')</xhtml:span>"></xhtml:span> The @location value "external" is inconsistent with the<xhtml:br/>   parallel-segmentation method of apparatus markup.<xhtml:span class="element"></sch:assert></xhtml:span>
    <xhtml:span class="element"></sch:rule></xhtml:span>
    <xhtml:span class="element"></constraint></xhtml:span>
   </xhtml:div>
  </xhtml:td>
 </xhtml:tr>
 <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,
   attribute method { text },
   attribute location { text }
   >>
   d372076e13:tr
   [
      "[#variantEncodingLocation]"
      "<constraint>"
      "<sch:rule "
      "context"
      """=""""
      "tei:variantEncoding"
      """">"""
      " "
      "<sch:assert "
      "test"
      """=""""
      """(@location != 'external') or (@method != 'parallel-segmentation')"""
      """">"""
      """ The @location value "external" is inconsistent with the"""
      "   parallel-segmentation method of apparatus markup."
      "</sch:assert>"
      "</sch:rule>"
      "</constraint>"
   ],
   empty
}
Example
<variantEncoding method="location-referenced"
 location="external"/>