xsl-list
[Top] [All Lists]

[xsl] Generate nested TOC from flat XHTMTL

2006-09-04 03:58:34

How can I generate a TOC in correctly nested ordered XHTML list elements
from the flat heading structure in XHTML 1.0?
I am only interested in correctly nested ordered lists as output, like this:

<ol>
        <li>
                <ol>
                        <li/>
                </ol>   
        </li>
        <li/>
</ol>

XSLT 2.0 will do. I have no problems with the first level.


Best regards,
Jesper Tverskov


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>