tei:dataRef

identifies the datatype of an attribute value, either by referencing an item
in an externally defined datatype library, or by pointing to a TEI-defined data
specification [22.5.4.1. Datatypes]

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.
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.
key xs:NCName optional
the identifier used for this datatype specification
n xs:string optional
(number) gives a number (or other label) for an element, which is not
necessarily unique within the document.
name xs:NCName optional
the name of a datatype in the list provided by XML Schemas: Part 2:
Datatypes
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.
ref xs:NCName optional
a pointer to a datatype defined in some datatype
library
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.
restriction xs:token optional
supplies a string representing a regular expression providing additional
constraints on the strings used to represent values of this datatype
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.
source xs:anyURI optional
specifies the source from which declarations and definitions for the
components of the object being defined may be obtained.
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
synch restriction of list of xs:anyURI optional
(synchronous) points to elements that are synchronous with the current
element.
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

Source

<xs:element name="dataRef">
  <xs:annotation>
    <xs:documentation>identifies the datatype of an attribute value, either by referencing an item in an externally defined datatype library, or by pointing to a TEI-defined data specification [22.5.4.1. Datatypes]</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="tei:att.global.attributes"/>
    <xs:attributeGroup ref="tei:att.readFrom.attributes"/>
    <xs:attribute name="key" type="xs:NCName">
      <xs:annotation>
        <xs:documentation>the identifier used for this datatype specification</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="name" type="xs:NCName">
      <xs:annotation>
        <xs:documentation>the name of a datatype in the list provided by XML Schemas: Part 2: Datatypes</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ref" type="xs:NCName">
      <xs:annotation>
        <xs:documentation>a pointer to a datatype defined in some datatype library</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="restriction" type="xs:token">
      <xs:annotation>
        <xs:documentation>supplies a string representing a regular expression providing additional constraints on the strings used to represent values of this datatype</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample