Two templates for the same node

Using modes, we can write two different templates for the same node:


   id="chapter_{parent::div/@n}"
            
          ]]>
 mode="toc"
  
  • href="#chapter_{parent::div/@n}"
  • ]]>
    Template Modes, slide 3 of 6