<forest>
<forest> 匯集具根節點的樹狀結構群組。 [19.3 Another Tree Notation] | |||||||
組件 | nets — Graphs, Networks, and Trees | ||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @rend, @style, @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))
| ||||||
俱乐部会员 | |||||||
可包含在於 | header: change handNote licence scriptNote typeNote msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance source support surrogates nets: listForest tagdocs: specGrp transcr: metamark | ||||||
可包含 | |||||||
宣告 |
element forest { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, attribute type { data.enumerated }?, ( tree | eTree | triangle )+ } | ||||||
例子 | <forest n="ex5" type="derivation-syntactic"> <eTree n="Stage 1" xml:id="s1SBAR"> <label>S'</label> <eTree xml:id="s1S"> <label>S</label> <eTree xml:id="s1NP1"> <label>NP</label> <eLeaf> <label>you</label> </eLeaf> </eTree> <eTree xml:id="s1VP"> <label>VP</label> <eTree xml:id="s1V"> <label>V</label> <eLeaf> <label>do</label> </eLeaf> </eTree> </eTree> </eTree> </eTree> <eTree n="Stage 2" xml:id="s2SBAR" corresp="#s1SBAR"> <label>S'</label> <eTree xml:id="s2S" corresp="#s1S"> <label>S</label> <eTree xml:id="s2NP1" copyOf="#s1NP1"> <label>NP</label> </eTree> <eTree xml:id="s2VP" corresp="#s1VP"> <label>VP</label> <eTree xml:id="s2V" copyOf="#s1V"> <label>V</label> </eTree> <eTree xml:id="s2NP2" corresp="#s1NP2"> <label>NP</label> <eLeaf corresp="#s1WH"> <label>t</label> </eLeaf> </eTree> </eTree> </eTree> </eTree> </forest> |