Text Encoding Initiative

The XML Version of the TEI Guidelines

<iNode>


<iNode> (intermediate (or internal) node) represents an intermediate (or internal) node of a tree.
Attributes (In addition to global attributes)
label gives a label for an intermediate node.
Datatype: CDATA
Values: A character string.
Default: #IMPLIED
value provides the value of an intermediate node, which is a feature structure or other analytic element.
Datatype: IDREF
Values: A valid identifier of a feature structure or other analytic element.
Default: #IMPLIED
children provides a list of identifiers of the elements which are the children of the intermediate node.
Datatype: IDREFS
Values: A list of identifiers.
Default: #REQUIRED
parent provides the identifier of the element which is the parent of this node.
Datatype: IDREF
Values: The identifier of the parent node.
Default: #IMPLIED
ord indicates whether or not the internal node is ordered.
Datatype: (Y | N)
Legal values are:
Y indicates that the children of the intermediate node are ordered.
N indicates that the children of the intermediate node are unordered.
Default: #IMPLIED
Note

Use if and only if ord=partial is specified on the <tree> tag and the intermediate node has more than one child.

follow provides an identifier of the element which this node follows.
Datatype: IDREF
Values: The identifier of another intermediate node or leaf of the tree.
Default: #IMPLIED
Note

If the tree is unordered or partially ordered, this attribute has the property of fixing the relative order of the intermediate node and the element which is the value of the attribute.

outDegree gives the out degree of an intermediate node, the number of its children.
Datatype: CDATA
Values: A nonnegative integer.
Default: #IMPLIED
Note

The in degree of an intermediate node is always 1.

Example
<iNode id="pt1" label="PT" children="up1" parent="vb1" follow="pn1" outDegree="1"/>
Module Declared in file teinet2; Additional tag set for Graph Theory: enabled by TEI.nets
Data Description empty
May occur within tree
Declaration
<!ELEMENT iNode %om.RO; EMPTY> 
<!ATTLIST iNode  
      %a.global;
      label CDATA #IMPLIED
      value IDREF #IMPLIED
      children IDREFS #REQUIRED
      parent IDREF #IMPLIED
      ord (Y | N) #IMPLIED
      follow IDREF #IMPLIED
      outDegree CDATA #IMPLIED>
See further 21.2 Trees

Up: 35 Elements