<leaf>

<leaf> encodes the leaves (terminal nodes) of a tree. 19.2 Trees
Modulnets — 19 Graphs, Networks, and Trees
Attribute
valueprovides a pointer to a feature structure or other analytic element.
Zustand Vorgeschrieben wenn zutreffend
Datentyp

<rng:ref name="data.pointer"/>
data.pointer
Werte A valid identifier of a feature structure or other analytic element.
parentprovides the identifier of parent of a leaf.
Zustand Optional
Datentyp

<rng:ref name="data.pointer"/>
data.pointer
Werte The identifier of the parent node.
followprovides an identifier of an element which this leaf follows.
Zustand Vorgeschrieben wenn zutreffend
Datentyp

<rng:ref name="data.pointer"/>
data.pointer
Werte The identifier of another intermediate node or leaf of the tree.
Verwendet von
Kann enthalten
core: label
Deklaration

<rng:element name="leaf">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="value">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="parent">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="follow">
  <rng:ref name="data.pointer"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:ref name="label"/>
</rng:optional>
</rng:element>
element leaf
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute parent { data.pointer }?,
   attribute follow { data.pointer }?,
   label?
}
Beispiel
<leaf xml:id="peri1parent="#n1">
 <label>periscope</label>
</leaf>