<root> (root node) represents the root node of a tree. [19.2 Trees] |
Modul | nets — 19 Graphs, Networks, and Trees |
Attribute | att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
value | provides the value of the root, which is a feature structure or
other analytic element.Zustand | Optional |
Datentyp | |
Werte | A valid identifier of a feature structure or other analytic
element. |
|
children | provides a list of identifiers of the elements which are the children of
the root node.Zustand | Obligatorisch |
Datentyp | 1–∞ Vorkommen von Durch Leerzeichen getrennt |
Werte | A list of valid identifiers. |
|
ord | (ordered) indicates whether or not the root is ordered.Zustand | Optional |
Datentyp | |
|
outDegree | gives the out degree of the root, the number of its children.Zustand | Optional |
Datentyp | |
Werte | A nonnegative integer. |
|
|
Verwendet von | |
Enthalten in | |
Kann enthalten | |
Deklaration | <rng:element name="root"> <rng:ref name="att.global.attributes"/> <rng:ref name="att.global.linking.attributes"/> <rng:ref name="att.global.analytic.attributes"/> <rng:ref name="att.global.facs.attributes"/> <rng:ref name="att.global.change.attributes"/> <rng:optional> <rng:attribute name="value"> <rng:ref name="data.pointer"/> </rng:attribute> </rng:optional> <rng:attribute name="children"> <rng:list> <rng:ref name="data.pointer"/> <rng:zeroOrMore> <rng:ref name="data.pointer"/> </rng:zeroOrMore> </rng:list> </rng:attribute> <rng:optional> <rng:attribute name="ord"> <rng:ref name="data.xTruthValue"/> </rng:attribute> </rng:optional> <rng:optional> <rng:attribute name="outDegree"> <rng:ref name="data.count"/> </rng:attribute> </rng:optional> <rng:optional> <rng:ref name="label"/> </rng:optional> </rng:element>
element root
{
att.global.attributes,
att.global.linking.attributes,
att.global.analytic.attributes,
att.global.facs.attributes,
att.global.change.attributes,
attribute value { data.pointer }?,
attribute children { list { data.pointer, data.pointer* } },
attribute ord { data.xTruthValue }?,
attribute outDegree { data.count }?,
label?
} |
Beispiel |
<root xml:id="vp1" children="#vb1 #pn1" outDegree="2"> <label>VP </label></root><leaf xml:id="vb1"/><leaf xml:id="pn1"/>
|