<certainty>

<certainty> 指出標記文本某些部分的確定或不確定的程度。 21.1.2 Structured Indications of Uncertainty
組件 certainty — 21 Certainty, Precision, and Responsibility
除全域屬性以外
target 指出不確定標記的元素。
狀態 可應用時必備的
資料類型 1–∞ 次可出現: 

<rng:ref name="data.pointer"/>
data.pointer
以空白鍵隔開
a series of one or more identifiers (URIs), separated by whitespace
Elizabeth went to <persName xml:id="ESSEX">Essex</persName>
<certainty target="#ESSEX" locus="name" degree="0.6"/>
match supplies an XSLT 2.0 pattern which may be used to select those portions of the document the certainty of which is to be specified.
狀態 可應用時必備的
資料類型

<rng:text/>
text
The pattern should be expressed using the pattern syntax defined in Kay (ed.) (2007).

The following example has the same effect as the preceding one:

Elizabeth went to <persName xml:id="ESX">Essex</persName>
<certainty match="//*[xml:id='#ESX']" locus="name" degree="0.6"/>
locus 指出不確定標記的確切位置:元素的應用性、開始標籤或結束標籤的確切位置、特定屬性的屬性值等。
狀態 必備的
資料類型

<rng:ref name="data.enumerated"/>
data.enumerated
合法的值是:
name
uncertainty concerns whether the name of the element or attribute used is correctly applied.
start
uncertainty concerns whether the start of the element is correctly identified.
end
uncertainty concerns whether the end of the element is correctly identified.
location
uncertainty concerns both the start and the end of the element.
value
uncertainty concerns the content (for an element) or the value (for an attribute)
assertedValue 提供一個替代屬性值給指定標記部分—一個替代的類目識別符碼、轉錄、或屬性值,或是元素anchor (用來指出一個替代的開始或結束位置) 的識別符碼。若使用屬性assertedValue,則屬性degree中指出的確定程度適用於屬性assertedValue所指明的替代標記;若無使用,則確定程度適用於文本中的標記。
狀態 推薦的
資料類型

<rng:choice>
 <rng:ref name="data.pointer"/>
 <rng:ref name="data.name"/>
 <rng:ref name="data.word"/>
</rng:choice>
data.pointer | data.name | data.word
generic identifier, attribute value, location (e.g. indicated by a reference to an anchor element or to an ptr element), or other appropriate alternative value.
<certainty
  target="#ESX"
  locus="name"
  assertedValue="placeName"
  degree="0.2">

 <desc>It is unlikely, but possible, that this refers to the place
   rather than the person.</desc>
</certainty>
given 指出在評估確定程度時所設想的情況。
狀態 推薦的
資料類型 1–∞ 次可出現: 

<rng:ref name="data.pointer"/>
data.pointer
以空白鍵隔開
a pointer to a characterization of the conditions which are assumed in the assignment of a degree of confidence.
degree 指出屬性locus所指定的標記部分之確定程度。
狀態 非必備的
資料類型

<rng:ref name="data.probability"/>
data.probability
屬於
可包含
core: desc gloss
tagdocs: altIdent equiv
宣告

<rng:element name="certainty">
 <rng:ref name="att.global.attributes"/>
 <rng:optional>
  <rng:attribute name="target">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="data.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="match">
   <rng:text/>
  </rng:attribute>
 </rng:optional>
 <rng:attribute name="locus">
  <rng:choice>
   <rng:value>name</rng:value>
   <rng:value>start</rng:value>
   <rng:value>end</rng:value>
   <rng:value>location</rng:value>
   <rng:value>value</rng:value>
  </rng:choice>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="assertedValue">
   <rng:choice>
    <rng:ref name="data.pointer"/>
    <rng:ref name="data.name"/>
    <rng:ref name="data.word"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="given">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="data.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="degree">
   <rng:ref name="data.probability"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="model.glossLike"/>
 </rng:zeroOrMore>
</rng:element>
element certainty
{
   att.global.attributes,
   attribute target { list { data.pointer+ } }?,
   attribute match { text }?,
   attribute locus { "name" | "start" | "end" | "location" | "value" },
   attribute assertedValue { data.pointer | data.name | data.word }?,
   attribute given { list { data.pointer+ } }?,
   attribute degree { data.probability }?,
   model.glossLike*
}
例子
張先生去看<persName xml:id="zh-tw_JZZ">江子翠</persName>那邊有什麼活動。

<certainty target="#zh-tw_JZZ" locus="name" degree="0.6"/>
<certainty
  target="#zh-tw_JZZ"
  locus="name"
  assertedValue="placeName"
  degree="0.4"/>
例子
王先生找到<anchor xml:id="zh-tw_A1"/><persName xml:id="zh-tw_lin"></persName>,感動極了。

<certainty
  xml:id="zh-tw_c1"
  target="#zh-tw_lin"
  locus="name"
  degree="0.8"/>

<certainty
  target="#zh-tw_lin"
  given="#c1"
  locus="start"
  degree="0.9"/>

<certainty
  xml:id="zh-tw_c2"
  target="#zh-tw_lin"
  locus="name"
  assertedValue="placeName"
  degree="0.2"/>

<certainty
  target="#zh-tw_lin"
  given="#c2"
  locus="start"
  degree="0.1"/>

<certainty
  target="#zh-tw_lin"
  given="#c2"
  locus="start"
  assertedValue="#a1"
  degree="0.9"/>