tei:alt

(alternation) identifies an alternation or a set of choices among elements
or passages. [16.8. Alternation]

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
ana restriction of list of xs:anyURI optional
(analysis) indicates one or more elements containing interpretations of
the element on which the ana attribute appears.
cert union of(xs:double, restriction of xs:token) optional
(certainty) signifies the degree of certainty associated with the
intervention or interpretation.
change restriction of list of xs:anyURI optional
points to one or more change elements documenting a state or revision
campaign to which the element bearing this attribute and its children have been assigned
by the encoder.
copyOf xs:anyURI optional
points to an element of which the current element is a
copy.
corresp restriction of list of xs:anyURI optional
(corresponds) points to elements that correspond to the current element in
some way.
evaluate restriction of xs:token optional
specifies the intended meaning when the target of a pointer is itself a
pointer.
exclude restriction of list of xs:anyURI optional
points to elements that are in exclusive alternation with the current
element.
facs restriction of list of xs:anyURI optional
(facsimile) points to all or part of an image which corresponds with the
content of the element.
mode restriction of xs:token optional
states whether the alternations gathered in this collection are
exclusive or inclusive.
n xs:string optional
(number) gives a number (or other label) for an element, which is not
necessarily unique within the document.
next xs:anyURI optional
points to the next element of a virtual aggregate of which the current
element is part.
prev xs:anyURI optional
(previous) points to the previous element of a virtual aggregate of which
the current element is part.
rend restriction of list of restriction of xs:token optional
(rendition) indicates how the element in question was rendered or
presented in the source text.
rendition restriction of list of xs:anyURI optional
points to a description of the rendering or presentation used for this
element in the source text.
resp restriction of list of xs:anyURI optional
(responsible party) indicates the agency responsible for the intervention
or interpretation, for example an editor or transcriber.
sameAs xs:anyURI optional
points to an element that is the same as the current
element.
select restriction of list of xs:anyURI optional
selects one or more alternants; if one alternant is selected, the
ambiguity or uncertainty is marked as resolved. If more than one alternant is selected,
the degree of ambiguity or uncertainty is marked as reduced by the number of alternants
not selected.
style xs:string optional
contains an expression in some formal style definition language which
defines the rendering or presentation used for this element in the source
text
subtype restriction of xs:token optional
provides a sub-categorization of the element, if needed
synch restriction of list of xs:anyURI optional
(synchronous) points to elements that are synchronous with the current
element.
target restriction of list of union of(xs:anyURI, xs:anyURI, xs:anyURI) optional
specifies the destination of the reference by supplying one or more URI
References
targetLang union of(xs:language, restriction of xs:token) optional
specifies the language of the content to be found at the destination
referenced by target, using a language tag generated according to BCP
47.
type restriction of xs:token optional
characterizes the element in some sense, using any convenient
classification scheme or typology.
weights restriction of list of union of(xs:double, xs:double, xs:double) optional
If mode is , each weight states the probability that the corresponding
alternative occurs. If mode is incl each weight states the probability that the
corresponding alternative occurs given that at least one of the other alternatives
occurs.
xml:base xs:anyURI optional
provides a base URI reference with which applications can resolve relative URI references into absolute URI references.
xml:id xs:ID optional
(identifier) provides a unique identifier for the element bearing the attribute.
xml:lang union of(xs:language, restriction of xs:token) optional
(language) indicates the language of the element content using a tag generated according to BCP 47.
xml:space restriction of xs:token optional
signals an intention about how white space should be managed by applications.

Used By

Element Group tei:model.global.meta
Element tei:altGrp

Source

<xs:element name="alt">
  <xs:annotation>
    <xs:documentation>(alternation) identifies an alternation or a set of choices among elements or passages. [16.8. Alternation]</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="tei:att.global.attributes"/>
    <xs:attributeGroup ref="tei:att.pointing.attribute.targetLang"/>
    <xs:attributeGroup ref="tei:att.pointing.attribute.evaluate"/>
    <xs:attributeGroup ref="tei:att.typed.attributes"/>
    <xs:attribute name="target">
      <xs:annotation>
        <xs:documentation>specifies the destination of the reference by supplying one or more URI References</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="xs:anyURI xs:anyURI xs:anyURI"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="2"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="mode">
      <xs:annotation>
        <xs:documentation>states whether the alternations gathered in this collection are exclusive or inclusive.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="excl">
            <xs:annotation>
              <xs:documentation>(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="incl">
            <xs:annotation>
              <xs:documentation>(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="weights">
      <xs:annotation>
        <xs:documentation>If mode is , each weight states the probability that the corresponding alternative occurs. If mode is incl each weight states the probability that the corresponding alternative occurs given that at least one of the other alternatives occurs.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="xs:double xs:double xs:double"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="2"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample