<leaf>

<leaf> codifica le foglie (nodi terminali) di un albero 19.2 Trees
Modulonets — 19 Graphs, Networks, and Trees
Attributi
valueassegna alla foglia un valore, che può essere una struttura di tratti o altro elemento di analisi
Stato Richiesto se applicabile
Tipo di dati
data.pointer
Valori A valid identifier of a feature structure or other analytic element.
parentassegna un identificatore al genitore della foglia
Stato Opzionale
Tipo di dati
data.pointer
Valori The identifier of the parent node.
followassegna un identificatore all'elemento che precede la foglia
Stato Richiesto se applicabile
Tipo di dati
data.pointer
Valori The identifier of another intermediate node or leaf of the tree.
Nota
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.
Usato datree
Può contenere
core: label
Dichiarazione
element leaf
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute parent { data.pointer }?,
   attribute follow { data.pointer }?,
   label?
}
Esempio
<leaf xml:id="peri1parent="#n1">
 <label>periscope</label>
</leaf>
Nota
The in degree of a leaf is always 1, its out degree always 0.