[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Re: Simplfying the ToC content model
/ Gerrit Kuilder <gerrit@yours-untildeath.demon.nl> was heard to say:
| How would one deal with nested toc's (as it is possible now with
| tochap toclevel1 etc)?. I do use it to generate a toc, through an xsl
| stylesheet, with the levels to create approriate numbering/formatting.
Just nest the tocentrys:
<toc><title>My Toc</title>
<tocentry><citetitle>Chapter One</citetitle>
<tocentry><citetitle>Section One</citetitle></tocentry>
<tocentry><citetitle>Section Two</citetitle>
<tocentry><citetitle>Section Two.One</citetitle></tocentry>
</tocentry>
</tocentry>
</toc>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Success is relative; it is what we
http://www.oasis-open.org/docbook/ | make of the mess we have made of
Chair, DocBook Technical Committee | things.--T. S. Eliot
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC