tei:model

describes the processing intended for a specified element. [22.5.5.1. The
TEI processing model]

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.
behaviour union of(restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token, restriction of xs:token) required
names the process or function which this processing model uses in order
to produce output. Suggested values include: 1] alternate; 2] anchor; 3] block; 4] body;
5] break; 6] cell; 7] cit; 8] document; 9] figure; 10] glyph; 11] graphic; 12] heading;
13] index; 14] inline; 15] link; 16] list; 17] listItem; 18] metadata; 19] note; 20]
omit; 21] paragraph; 22] row; 23] section; 24] table; 25] text; 26]
title
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.
cssClass restriction of list of xs:Name optional
the name of a CSS class which should be associated with this
element
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.
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.
output restriction of xs:token optional
the intended output. Sample values include: 1] web; 2] print; 3]
plain
predicate optional
the condition under which this model applies, given as an XPath
predicate expression.
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
synch restriction of list of xs:anyURI optional
(synchronous) points to elements that are synchronous with the current
element.
useSourceRendition xs:boolean optional
whether to obey any rendition attribute which is
present.
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="model">
  <xs:annotation>
    <xs:documentation>describes the processing intended for a specified element. [22.5.5.1. The TEI processing model]</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.glossLike"/>
        <xs:group ref="tei:model.descLike"/>
      </xs:choice>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:param"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:outputRendition"/>
    </xs:sequence>
    <xs:attributeGroup ref="tei:att.global.attributes"/>
    <xs:attribute name="behaviour" use="required">
      <xs:annotation>
        <xs:documentation>names the process or function which this processing model uses in order to produce output. Suggested values include: 1] alternate; 2] anchor; 3] block; 4] body; 5] break; 6] cell; 7] cit; 8] document; 9] figure; 10] glyph; 11] graphic; 12] heading; 13] index; 14] inline; 15] link; 16] list; 17] listItem; 18] metadata; 19] note; 20] omit; 21] paragraph; 22] row; 23] section; 24] table; 25] text; 26] title</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="alternate">
                <xs:annotation>
                  <xs:documentation>support display of alternative visualisations, for example by displaying the preferred content, by displaying both in parallel, or by toggling between the two.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="anchor">
                <xs:annotation>
                  <xs:documentation>create an identifiable anchor point in the output</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="block">
                <xs:annotation>
                  <xs:documentation>create a block structure</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="body">
                <xs:annotation>
                  <xs:documentation>create the body of a document.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="break">
                <xs:annotation>
                  <xs:documentation>create a line, column, or page break according to the value of type</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="cell">
                <xs:annotation>
                  <xs:documentation>create a table cell</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="cit">
                <xs:annotation>
                  <xs:documentation>show the content, with an indication of the source</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="document">
                <xs:annotation>
                  <xs:documentation>start a new output document</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="figure">
                <xs:annotation>
                  <xs:documentation>make a figure with the title as caption</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="glyph">
                <xs:annotation>
                  <xs:documentation>show a character by looking up reference to a chardesc at the given URI</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="graphic">
                <xs:annotation>
                  <xs:documentation>if url is present, uses it to display graphic, else display a placeholder image.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="heading">
                <xs:annotation>
                  <xs:documentation>creates a heading.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="index">
                <xs:annotation>
                  <xs:documentation>generate list according to type</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="inline">
                <xs:annotation>
                  <xs:documentation>creates inline element out of content</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="link">
                <xs:annotation>
                  <xs:documentation>create hyperlink</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="list">
                <xs:annotation>
                  <xs:documentation>create a list</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="listItem">
                <xs:annotation>
                  <xs:documentation>create a list item</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="metadata">
                <xs:annotation>
                  <xs:documentation>create metadata section</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="note">
                <xs:annotation>
                  <xs:documentation>create a note, often out of line, depending on the value of place; could be margin, footnote, endnote, inline</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="omit">
                <xs:annotation>
                  <xs:documentation>do nothing, do not process children</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="paragraph">
                <xs:annotation>
                  <xs:documentation>create a paragraph out of content.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="row">
                <xs:annotation>
                  <xs:documentation>create a table row</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="section">
                <xs:annotation>
                  <xs:documentation>create a new section of the output document</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="table">
                <xs:annotation>
                  <xs:documentation>create a table</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="text">
                <xs:annotation>
                  <xs:documentation>create literal text</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="title">
                <xs:annotation>
                  <xs:documentation>create document title</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="predicate">
      <xs:annotation>
        <xs:documentation>the condition under which this model applies, given as an XPath predicate expression.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="useSourceRendition" type="xs:boolean">
      <xs:annotation>
        <xs:documentation>whether to obey any rendition attribute which is present.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="output">
      <xs:annotation>
        <xs:documentation>the intended output. Sample values include: 1] web; 2] print; 3] plain</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="cssClass">
      <xs:annotation>
        <xs:documentation>the name of a CSS class which should be associated with this element</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:Name"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample