Ignore:
Timestamp:
2022-12-09T22:17:05+13:00 (18 months ago)
Author:
davidb
Message:

Adding comment about the need for documentNodeTOC to be wrapped up in a root element (<ul> in this case)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl

    r37001 r37002  
    175175    <!-- This template is used to display the table of contents -->
    176176    <xsl:template name="documentNodeTOC">
     177      <!--
     178       Important that the following is all wrapped up in a root tag (<ul>) in this case.
     179       This is because the rule is called using an ajax-based 'ilt' (inline template) call, and if
     180       there isn't a root tag, it causes the XSLT to blowup
     181      -->
    177182      <ul>
    178183        <table>
Note: See TracChangeset for help on using the changeset viewer.