<tree>
<tree> codifica un árbol, que se constituye de raíz, nodos internos, hojas, y arcos que conectan raíz y hojas. [19.2 Trees] | |||||||||||||||||||||
Módulo | nets — Graphs, Networks, and Trees | ||||||||||||||||||||
Atributos | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
| ||||||||||||||||||||
Miembro de | |||||||||||||||||||||
Contenido en | header: change handNote licence scriptNote linking: standOff msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance signatures source summary support surrogates typeNote namesdates: occupation nets: forest tagdocs: specGrp transcr: metamark | ||||||||||||||||||||
Puede contener | |||||||||||||||||||||
Nota | A root, and zero or more internal nodes and leaves, but if there is an internal node, there must also be at least one leaf. | ||||||||||||||||||||
Ejemplo | <tree n="ex2" arity="2" ord="partial" order="13"> <root xml:id="G-div1" children="#G-plu1 #G-exp1" ord="true"> <label>/</label> </root> <iNode xml:id="G-plu1" children="#G-exp2 #G-exp3" parent="#G-div1" ord="false"> <label>+</label> </iNode> <iNode xml:id="G-exp1" children="#G-plu2 #G-num2.3" parent="#G-div1" ord="true"> <label>**</label> </iNode> <iNode xml:id="G-exp2" children="#G-vara1 #G-num2.1" parent="#G-plu1" ord="true"> <label>**</label> </iNode> <iNode xml:id="G-exp3" children="#G-varb1 #G-num2.2" parent="#G-plu1" ord="true"> <label>**</label> </iNode> <iNode xml:id="G-plu2" children="#G-vara2 #G-varb2" parent="#G-exp1" ord="false"> <label>+</label> </iNode> <leaf xml:id="G-vara1" parent="#G-exp2"> <label>a</label> </leaf> <leaf xml:id="G-num2.1" parent="#G-exp2"> <label>2</label> </leaf> <leaf xml:id="G-varb1" parent="#G-exp3"> <label>b</label> </leaf> <leaf xml:id="G-num2.2" parent="#G-exp3"> <label>2</label> </leaf> <leaf xml:id="G-vara2" parent="#G-plu2"> <label>a</label> </leaf> <leaf xml:id="G-varb2" parent="#G-plu2"> <label>b</label> </leaf> <leaf xml:id="G-num2.3" parent="#G-exp1"> <label>2</label> </leaf> </tree> | ||||||||||||||||||||
Content model | <content> | ||||||||||||||||||||
Declaración | <rng:element name="tree"> element tree { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, attribute arity { teidata.count }?, attribute ord { "true" | "partial" | "false" }, attribute order { teidata.count }?, ( label?, ( ( leaf | iNode )*, root, ( leaf | iNode )* ) ) } |