<root>

<root> (nodo raíz) representa el nodo raíz de un árbol. 19.2 Trees
Módulonets — 19 Graphs, Networks, and Trees
Atributos
valueproporciona el valor de la raíz, que puede ser una estructura de rasgos u otro elemento de análisis.
Estado Necesario cuando se aplica
Tipo de datos
data.pointer
Valores A valid identifier of a feature structure or other analytic element.
childrenproporciona una lista de identificadores de elementos que son hijos (descendientes) de la raíz.
Estado Necesario
Tipo de datos 1–∞ occurrences of
data.pointer
separated by whitespace
Valores A list of valid identifiers.
Nota
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) indica si la raíz es o no ordenada.
Estado Necesario cuando se aplica
Tipo de datos
data.xTruthValue
Nota
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.
outDegreeindica el grado en salida de la raíz, es decir, el número de hijos de esta.
Estado Opcional
Tipo de datos
data.count
Valores A nonnegative integer.
Nota
The in degree of the root is always 0.
Used bytree
May contain
core: label
Declaración
element root
{
   att.global.attributes,
   attribute value { data.pointer }?,
   attribute children { list { data.pointer+ } },
   attribute ord { data.xTruthValue }?,
   attribute outDegree { data.count }?,
   label?
}
Ejemplo
<root xml:id="vp1children="#vb1 #pn1outDegree="2">
 <label>VP</label>
</root>
<leaf xml:id="vb1"/>
<leaf xml:id="pn1"/>