<leaf>

<leaf> encodes the leaves (terminal nodes) of a tree. 19.2 Trees
組件nets — 19 Graphs, Networks, and Trees
屬性
valueprovides a pointer to a feature structure or other analytic element.
狀態 可應用時必備的
資料類型
data.pointer
A valid identifier of a feature structure or other analytic element.
parentprovides the identifier of parent of a leaf.
狀態 非必備的
資料類型
data.pointer
The identifier of the parent node.
followprovides an identifier of an element which this leaf 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 leaf and the element which is the value of the attribute.
屬於tree
可包含
core: label
宣告
element leaf
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute parent { data.pointer }?,
   attribute follow { data.pointer }?,
   label?
}
例子
<leaf xml:id="peri1parent="#n1">
 <label>periscope</label>
</leaf>
The in degree of a leaf is always 1, its out degree always 0.