<root>

<root> (root node) represents the root node of a tree. 19.2 Trees
Modulnets — 19 Graphs, Networks, and Trees
Attribute
valueprovides the value of the root, which is a feature structure or other analytic element.
Zustand Vorgeschrieben wenn zutreffend
Datentyp
data.pointer
Werte 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 root node.
Zustand Obligatorisch
Datentyp 1–∞ occurrences of
data.pointer
separated by whitespace
Werte A list of valid identifiers.
Anmerkung
If the root has no children (i.e., the tree is ‘trivial’), then the children attribute must be omitted. For technical reasons, it cannot be specified as root children=''.
ord (ordered) indicates whether or not the root is ordered.
Zustand Vorgeschrieben wenn zutreffend
Datentyp
data.xTruthValue
Anmerkung
The value true indicates that the children of the root are ordered, whereas false indicates the are unordered.
Use if and only if ord is specified as partial on the <tree> element and the root has more than one child.
outDegreegives the out degree of the root, the number of its children.
Zustand Optional
Datentyp
data.count
Werte A nonnegative integer.
Anmerkung
The in degree of the root is always 0.
Verwendet vontree
Kann enthalten
core: label
Deklaration
element root
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute children { list { data.pointer+ } },
   attribute ord { data.xTruthValue }?,
   attribute outDegree { data.count }?,
   label?
}
Beispiel
<root xml:id="vp1children="#vb1 #pn1outDegree="2">
 <label>VP</label>
</root>
<leaf xml:id="vb1"/>
<leaf xml:id="pn1"/>