<forest>

<forest> (forest) 匯集具根節點的樹狀結構群組。 [19.3 Another Tree Notation]
組件 nets — Graphs, Networks, and Trees
屬性
俱乐部会员
可包含在於
可包含

One or more trees, embedding trees, or underspecified embedding trees (triangles).

例子
<forest n="ex5type="derivation-syntactic">
 <eTree n="Stage 1xml: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 2xml:id="s2SBAR"
  corresp="#s1SBAR">

  <label>S'</label>
  <eTree xml:id="s2Scorresp="#s1S">
   <label>S</label>
   <eTree xml:id="s2NP1copyOf="#s1NP1">
    <label>NP</label>
   </eTree>
   <eTree xml:id="s2VPcorresp="#s1VP">
    <label>VP</label>
    <eTree xml:id="s2VcopyOf="#s1V">
     <label>V</label>
    </eTree>
    <eTree xml:id="s2NP2corresp="#s1NP2">
     <label>NP</label>
     <eLeaf corresp="#s1WH">
      <label>t</label>
     </eLeaf>
    </eTree>
   </eTree>
  </eTree>
 </eTree>
</forest>
Content model
<content>
 <alternate minOccurs="1"
  maxOccurs="unbounded">

  <elementRef key="tree"/>
  <elementRef key="eTree"/>
  <elementRef key="triangle"/>
 </alternate>
</content>
宣告
<rng:element name="forest">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:oneOrMore>
  <rng:choice>
   <rng:ref name="tree"/>
   <rng:ref name="eTree"/>
   <rng:ref name="triangle"/>
  </rng:choice>
 </rng:oneOrMore>
</rng:element>
element forest
{
   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,
   att.typed.attributes,
   ( tree | eTree | triangle )+
}