Example: <leaf>

These search results reproduce every example of the use of <leaf> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <leaf> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

19 Graphs, Networks, and Trees


19.2 Trees

<tree
  n="ex1"
  arity="2"
  ord="true"
  order="12">

 <root xml:id="G-DIV1children="#PLU1 #EXP1">
  <label>/</label>
 </root>
 <iNode xml:id="PLU1parent="#G-DIV1children="#EXP2 #EXP3">
  <label>+</label>
 </iNode>
 <iNode xml:id="EXP1parent="#G-DIV1children="#PLU2 #NUM2.3">
  <label>**</label>
 </iNode>
 <iNode xml:id="EXP2parent="#PLU1children="#VARA1 #NUM2.1">
  <label>**</label>
 </iNode>
 <iNode xml:id="EXP3parent="#PLU1children="#VARB1 #NUM2.2">
  <label>**</label>
 </iNode>
 <iNode xml:id="PLU2parent="#EXP1children="#VARA2 #VARB2">
  <label>+</label>
 </iNode>
 <leaf xml:id="VARA1parent="#EXP2">
  <label>a</label>
 </leaf>
 <leaf xml:id="NUM2.1parent="#EXP2">
  <label>2</label>
 </leaf>
 <leaf xml:id="VARB1parent="#EXP3">
  <label>b</label>
 </leaf>
 <leaf xml:id="NUM2.2parent="#EXP3">
  <label>2</label>
 </leaf>
 <leaf xml:id="VARA2parent="#PLU2">
  <label>a</label>
 </leaf>
 <leaf xml:id="VARB2parent="#PLU2">
  <label>b</label>
 </leaf>
 <leaf xml:id="NUM2.3parent="#EXP1">
  <label>2</label>
 </leaf>
</tree>

19.2 Trees

<tree
  n="ex2"
  ord="partial"
  arity="2"
  order="13">

 <root xml:id="divi1ord="truechildren="#plu1 #exp1">
  <label>/</label>
 </root>
 <iNode
   xml:id="plu1"
   ord="false"
   parent="#divi1"
   children="#exp2 #exp3">

  <label>+</label>
 </iNode>
 <iNode
   xml:id="exp1"
   ord="true"
   parent="#divi1"
   children="#plu2 #num2.3">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="exp2"
   ord="true"
   parent="#plu1"
   children="#vara1 #num2.1">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="exp3"
   ord="true"
   parent="#plu1"
   children="#varb1 #num2.2">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="plu2"
   ord="false"
   parent="#exp1"
   children="#vara2 #varb2">

  <label>+</label>
 </iNode>
 <leaf xml:id="vara1parent="#exp2">
  <label>a</label>
 </leaf>
 <leaf xml:id="num2.1parent="#exp2">
  <label>2</label>
 </leaf>
 <leaf xml:id="varb1parent="#exp3">
  <label>b</label>
 </leaf>
 <leaf xml:id="num2.2parent="#exp3">
  <label>2</label>
 </leaf>
 <leaf xml:id="vara2parent="#plu2">
  <label>a</label>
 </leaf>
 <leaf xml:id="varb2parent="#plu2">
  <label>b</label>
 </leaf>
 <leaf xml:id="num2.3parent="#exp1">
  <label>2</label>
 </leaf>
</tree>

19.2 Trees

<tree
  n="ex3"
  ord="true"
  arity="2"
  order="8">

 <root xml:id="GD-PP1children="#GD-P1 #GD-NP1">
  <label>PP</label>
 </root>
 <iNode xml:id="GD-P1parent="#GD-PP1children="#GD-WITH1">
  <label>P</label>
 </iNode>
 <leaf xml:id="GD-WITH1parent="#GD-P1">
  <label>with</label>
 </leaf>
 <iNode xml:id="GD-NP1parent="#GD-PP1children="#GD-THE1 #GD-PERI1">
  <label>NP</label>
 </iNode>
 <iNode xml:id="GD-ART1parent="#GD-NP1children="#GD-THE1">
  <label>Art</label>
 </iNode>
 <leaf xml:id="GD-THE1parent="#GD-ART1">
  <label>the</label>
 </leaf>
 <iNode xml:id="GD-N1parent="#GD-NP1children="#GD-PERI1">
  <label>N</label>
 </iNode>
 <leaf xml:id="GD-PERI1parent="#GD-N1">
  <label>periscope</label>
 </leaf>
</tree>

19.2 Trees

<tree
  n="ex4"
  arity="2"
  order="8"
  ord="true">

 <leaf xml:id="GD-LOOK1parent="#GD-VB2">
  <label>look</label>
 </leaf>
 <leaf xml:id="GD-THEM1parent="#GD-PN1">
  <label>them</label>
 </leaf>
 <leaf xml:id="GD-UP1parent="#GD-PT1">
  <label>up</label>
 </leaf>
 <iNode xml:id="GD-VB2parent="#GD-VB1children="#GD-LOOK1">
  <label>VB</label>
 </iNode>
 <iNode xml:id="GD-PN1parent="#GD-VP1children="#GD-THEM1">
  <label>PN</label>
 </iNode>
 <iNode
   xml:id="GD-PT1"
   parent="#GD-VB1"
   children="#GD-UP1"
   follow="#GD-PN1">

  <label>PT</label>
 </iNode>
 <iNode xml:id="GD-VB1parent="#GD-VP1children="#GD-VB2 #GD-PT1">
  <label>VB</label>
 </iNode>
 <root xml:id="GD-VP1children="#GD-VB1 #GD-PN1">
  <label>VP</label>
 </root>
</tree>

<tree>

<tree
  n="ex2"
  arity="2"
  ord="partial"
  order="13">

 <root xml:id="G-div1children="#G-plu1 #G-exp1ord="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-vara1parent="#G-exp2">
  <label>a</label>
 </leaf>
 <leaf xml:id="G-num2.1parent="#G-exp2">
  <label>2</label>
 </leaf>
 <leaf xml:id="G-varb1parent="#G-exp3">
  <label>b</label>
 </leaf>
 <leaf xml:id="G-num2.2parent="#G-exp3">
  <label>2</label>
 </leaf>
 <leaf xml:id="G-vara2parent="#G-plu2">
  <label>a</label>
 </leaf>
 <leaf xml:id="G-varb2parent="#G-plu2">
  <label>b</label>
 </leaf>
 <leaf xml:id="G-num2.3parent="#G-exp1">
  <label>2</label>
 </leaf>
</tree>

<tree>

<tree
  n="ex2"
  arity="2"
  ord="partial"
  order="13">

 <root xml:id="fr_G-div1children="#fr_G-plu1 #fr_G-exp1ord="true">
  <label>/</label>
 </root>
 <iNode
   xml:id="fr_G-plu1"
   children="#fr_G-exp2 #fr_G-exp3"
   parent="#fr_G-div1"
   ord="false">

  <label>+</label>
 </iNode>
 <iNode
   xml:id="fr_G-exp1"
   children="#fr_G-plu2 #fr_G-num2.3"
   parent="#fr_G-div1"
   ord="true">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="fr_G-exp2"
   children="#fr_G-vara1 #fr_G-num2.1"
   parent="#fr_G-plu1"
   ord="true">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="fr_G-exp3"
   children="#fr_G-varb1 #fr_G-num2.2"
   parent="#fr_G-plu1"
   ord="true">

  <label>**</label>
 </iNode>
 <iNode
   xml:id="fr_G-plu2"
   children="#fr_G-vara2 #fr_G-varb2"
   parent="#fr_G-exp1"
   ord="false">

  <label>+</label>
 </iNode>
 <leaf xml:id="fr_G-vara1parent="#fr_G-exp2">
  <label>a</label>
 </leaf>
 <leaf xml:id="fr_G-num2.1parent="#fr_G-exp2">
  <label>2</label>
 </leaf>
 <leaf xml:id="fr_G-varb1parent="#fr_G-exp3">
  <label>b</label>
 </leaf>
 <leaf xml:id="fr_G-num2.2parent="#fr_G-exp3">
  <label>2</label>
 </leaf>
 <leaf xml:id="fr_G-vara2parent="#fr_G-plu2">
  <label>a</label>
 </leaf>
 <leaf xml:id="fr_G-varb2parent="#fr_G-plu2">
  <label>b</label>
 </leaf>
 <leaf xml:id="fr_G-num2.3parent="#fr_G-exp1">
  <label>2</label>
 </leaf>
</tree>

<root>

<root xml:id="vp1children="#vb1 #pn1outDegree="2">
 <label>VP</label>
</root>
<leaf xml:id="vb1"/>
<leaf xml:id="pn1"/>

<root>

<root xml:id="fr_vp1children="#fr_vb1 #fr_pn1outDegree="2">
 <label>VP</label>
</root>
<leaf xml:id="fr_vb1"/>
<leaf xml:id="fr_pn1"/>

<leaf>

<leaf xml:id="peri1parent="#n1">
 <label>periscope</label>
</leaf>

<leaf>

<leaf xml:id="fr_peri1parent="#fr_n1">
 <label>périscope</label>
</leaf>