<certainty>

<certainty> indicates the degree of certainty or uncertainty associated with some aspect of the text markup. 21.1.2 Structured Indications of Uncertainty
Modul certainty — 21 Certainty, Precision, and Responsibility
Neben global gültigen Attributen
target points at the element or elements whose markup is uncertain.
Zustand Obligatorisch wenn zutreffend
Datentyp 1–∞ Vorkommen von 

<rng:ref name="data.pointer"/>
data.pointer
Durch Leerzeichen getrennt
Werte 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.
Zustand Obligatorisch wenn zutreffend
Datentyp

<rng:text/>
text
Werte 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 indicates more exactly the aspect concerning which uncertainty is being expressed: for example, whether the markup is correctly located, whether the right element or attribute name has been used, whether the content of the element or attribute is correct, etc.
Zustand Obligatorisch
Datentyp

<rng:ref name="data.enumerated"/>
data.enumerated
Gültige Werte:
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 provides an alternative value for the aspect of the markup in question—an alternative generic identifier, transcription, or attribute value, or the identifier of an anchor element (to indicate an alternative starting or ending location). If an assertedValue is given, the confidence level specified by degree applies to the alternative markup specified by assertedValue; if none is given, it applies to the markup in the text.
Zustand Empfohlen
Datentyp

<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
Werte 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 indicates conditions assumed in the assignment of a degree of confidence.
Zustand Empfohlen
Datentyp 1–∞ Vorkommen von 

<rng:ref name="data.pointer"/>
data.pointer
Durch Leerzeichen getrennt
Werte a pointer to a characterization of the conditions which are assumed in the assignment of a degree of confidence.
degree indicates the degree of confidence assigned to the aspect of the markup named by the locus attribute.
Zustand Optional
Datentyp

<rng:ref name="data.probability"/>
data.probability
Verwendet von
Kann enthalten
core: desc gloss
tagdocs: altIdent equiv
Deklaration

<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*
}
Beispiel

(For discussion of this example, see section 21.1.2 Structured Indications of Uncertainty)

Ernest went to <anchor xml:id="A1"/> old
<persName xml:id="SYB">Saybrook</persName>.

<certainty
  xml:id="c1"
  target="#SYB"
  locus="name"
  degree="0.6"/>

<certainty
  target="#SYB"
  locus="start"
  given="#c1"
  degree="0.9"/>

<certainty
  xml:id="C-c2"
  target="#SYB"
  locus="name"
  assertedValue="persName"
  degree="0.4"/>

<certainty
  target="#SYB"
  locus="start"
  given="#C-c2"
  degree="0.5"/>

<certainty
  target="#SYB"
  locus="start"
  assertedValue="#a1"
  given="#c1"
  degree="0.5"/>