<variantEncoding>

<variantEncoding> declares the method used to encode text-critical variants. 12.1.1 The Apparatus Entry
組件textcrit — 12 Critical Apparatus
屬性att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
methodindicates which method is used to encode the apparatus of variants.
狀態 必備的
合法的值是:
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.
locationindicates whether the apparatus appears within the running text or external to it.
狀態 必備的
合法的值是:
internal
apparatus appears within the running text.
external
apparatus appears outside the base text.
屬於
可包含在於
header: encodingDesc
可包含空白元素
宣告

<rng:element name="variantEncoding">
 <rng:ref name="att.global.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: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.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute method
   {
      "location-referenced" | "double-end-point" | "parallel-segmentation"
   },
   attribute location { "internal" | "external" },
   empty
}
例子
<variantEncoding method="location-referenced" location="external"/>