tei:node

encodes a node, a possibly labeled point in a graph. [19.1. Graphs and
Digraphs]

Element Information

Model

Children: tei:label

Attributes

QName Type Fixed Default Use Inheritable Annotation
adj restriction of list of xs:anyURI optional
(adjacent) gives the identifiers of the nodes which are both adjacent to
and adjacent from the current node.
adjFrom restriction of list of xs:anyURI optional
(adjacent from) gives the identifiers of the nodes which are adjacent
from the current node.
adjTo restriction of list of xs:anyURI optional
(adjacent to) gives the identifiers of the nodes which are adjacent to
the current node.
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.
degree xs:nonNegativeInteger optional
gives the degree of the node, the number of arcs with which the node is
incident.
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.
inDegree xs:nonNegativeInteger optional
gives the in degree of the node, the number of nodes which are adjacent
from the given node.
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.
outDegree xs:nonNegativeInteger optional
gives the out degree of the node, the number of nodes which are adjacent
to the given node.
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.
type union of(restriction of xs:token, restriction of xs:token, restriction of xs:token) optional
provides a type for a node. Suggested values include: 1] initial; 2]
final
value xs:anyURI optional
provides the value of a node, which is a feature structure or other
analytic 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

Element tei:graph

Source

<xs:element name="node">
  <xs:annotation>
    <xs:documentation>encodes a node, a possibly labeled point in a graph. [19.1. Graphs and Digraphs]</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence minOccurs="0">
      <xs:element ref="tei:label"/>
      <xs:element minOccurs="0" ref="tei:label"/>
    </xs:sequence>
    <xs:attributeGroup ref="tei:att.global.attributes"/>
    <xs:attribute name="value" type="xs:anyURI">
      <xs:annotation>
        <xs:documentation>provides the value of a node, which is a feature structure or other analytic element.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="type">
      <xs:annotation>
        <xs:documentation>provides a type for a node. Suggested values include: 1] initial; 2] final</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="initial">
                <xs:annotation>
                  <xs:documentation>initial node in a transition network</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="final">
                <xs:annotation>
                  <xs:documentation>final node in a transition network</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="adjTo">
      <xs:annotation>
        <xs:documentation>(adjacent to) gives the identifiers of the nodes which are adjacent to the current node.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="adjFrom">
      <xs:annotation>
        <xs:documentation>(adjacent from) gives the identifiers of the nodes which are adjacent from the current node.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="adj">
      <xs:annotation>
        <xs:documentation>(adjacent) gives the identifiers of the nodes which are both adjacent to and adjacent from the current node.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="inDegree" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>gives the in degree of the node, the number of nodes which are adjacent from the given node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="outDegree" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>gives the out degree of the node, the number of nodes which are adjacent to the given node.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="degree" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>gives the degree of the node, the number of arcs with which the node is incident.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample