default branch template example


XML document 

<diputree>
 <hasdefaulttemplate>
  <b>
   <hasicon>
    <icon>
     <when>
      <closed/>
     </when>
     <hasimage>
      <uri>
       <s>../../../images/bbookc.gif</s>
      </uri>
     </hasimage>
    </icon>
    <icon>
     <when>
      <opened/>
     </when>
     <hasimage>
      <uri>
       <s>../../../images/bbooko.gif</s>
      </uri>
     </hasimage>
    </icon>
   </hasicon>
  </b>
 </hasdefaulttemplate>
 <has>
  <b>
   <lt>a branch</lt>
   <has>
    <l>
     <lt>a leaf</lt>
    </l>
   </has>
  </b>
 </has>
</diputree>

Explanation

<diputree>
  <hasdefaulttemplate>
  <b>
     ...
  </b>
  <l>
     ...
  </l>
 </hasdefaulttemplate>
</diputree>

<diputree> <hasdefaulttemplate> <b>ranch and <l>eaf.

Remarks

See also

<t->, <hastemplate>


diputree documentation © 2000 dipu