<iNode>

<iNode> (intermediate (or internal) node) represents an intermediate (or internal) node of a tree. 19.2 Trees
組件nets — 19 Graphs, Networks, and Trees
屬性
valueprovides the value of an intermediate node, which is a feature structure or other analytic element.
狀態 可應用時必備的
資料類型
data.pointer
A valid identifier of a feature structure or other analytic element.
childrenprovides a list of identifiers of the elements which are the children of the intermediate node.
狀態 必備的
資料類型 1–∞ occurrences of
data.pointer
以空白鍵隔開
A list of identifiers.
parentprovides the identifier of the element which is the parent of this node.
狀態 非必備的
資料類型
data.pointer
The identifier of the parent node.
ord (ordered) indicates whether or not the internal node is ordered.
狀態 非必備的
資料類型
data.xTruthValue
The value true indicates that the children of the intermediate node are ordered, whereas false indicates the are unordered.
Use if and only if ord is specified as partial on the <tree> element and the intermediate node has more than one child.
followprovides an identifier of the element which this node follows.
狀態 可應用時必備的
資料類型
data.pointer
The identifier of another intermediate node or leaf of the tree.
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.
outDegreegives the out degree of an intermediate node, the number of its children.
狀態 非必備的
資料類型
data.count
A nonnegative integer.
The in degree of an intermediate node is always 1.
屬於tree
可包含
core: label
宣告
element iNode
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute children { list { data.pointer+ } },
   attribute parent { data.pointer }?,
   attribute ord { data.xTruthValue }?,
   attribute follow { data.pointer }?,
   attribute outDegree { data.count }?,
   label?
}
例子
<iNode
  xml:id="pt1"
  children="#GD-UP1"
  parent="#GD-VB1"
  follow="#GD-PN1"
  outDegree="1">

 <label>PT</label>
</iNode>