<variantEncoding>

<variantEncoding> (variant encoding) 宣告在標記不同版本中的變異字體時所使用的方法。 [12.1.1 The Apparatus Entry]
組件textcrit — Critical Apparatus
屬性att.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)) (att.global.source (@source))
method指明標記變異的學術編輯註解時所使用的方法。
狀態 必備的
資料類型 teidata.enumerated
合法的值是:
location-referenced
學術編輯註解使用基礎文件中被參照的行數或其他標準參照架構。
double-end-point
學術編輯註解指出與基礎文件相關的各主題起始與結束的確切位置
parallel-segmentation
文件中一個段落的多個替代讀本以平行方式呈現;不需要基礎文件
location指出該學術編輯註解出現在連續文字內部或其外部。
狀態 必備的
資料類型 teidata.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>
合法的值是:
internal
學術編輯註解出現在連續文字內部
external
學術編輯註解出現在基礎文件外部
俱乐部会员
可包含在於
header: encodingDesc
可包含空白元素
例子
<variantEncoding method="location-referenced"
 location="external"/>
Content model
<content>
 <empty/>
</content>
宣告
<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>
 <xhtml:tr>
  <xhtml:td>[#variantEncodingLocation]</xhtml:td>
  <xhtml:td>
   <xhtml:div id="index-egXML-d489351e1"
    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:br/>
    <xhtml:span class="element"></sch:rule></xhtml:span>
    <xhtml:br/>
    <xhtml:span class="element"></constraint></xhtml:span>
    <xhtml:div style="float: right;">
     <xhtml:a class="bookmarklink"
      href="#index-egXML-d489351e1">
</xhtml:a>
    </xhtml:div>
   </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,
   att.global.source.attributes,
   attribute method
   {
      "location-referenced" | "double-end-point" | "parallel-segmentation"
   },
   attribute location { "internal" | "external" }
   >>
   d489341e39: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
}