This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Simplfying the ToC content model
- From: Gerrit Kuilder <gerrit at yours-untildeath dot demon dot nl>
- To: docbook <docbook at lists dot oasis-open dot org>
- Date: Mon, 18 Feb 2002 23:15:39 +0100
- Subject: Re: DOCBOOK: Simplfying the ToC content model
- References: <87r8niisj8.fsf@nwalsh.com>
Hello Norm
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.
Regards,
Gerrit Kuilder
Norman Walsh wrote:
> The TC has an action item to consider simplfying the content model of
> ToC (the elements used to construct a manual ToC).
>
> In the course of writing the chunktoc/maketoc stylesheets, I came to
> the conclusion that something as simple as this would be sufficient:
>
> <!ELEMENT toc (title?, tocentry+)>
>
> <!ELEMENT tocentry (citetitle?, tocentry*)>
>
> Is anyone out there using a manual ToC for an application where this
> would be insufficient (assume we carry forward the appropriate pageno
> and linking attributes)?
>
> Be seeing you,
> norm
>
>