This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Re: Simplfying the ToC content model
- From: Peter Eisentraut <peter_e at gmx dot net>
- To: Bob Stayton <bobs at caldera dot com>
- Cc: Gerrit Kuilder <gerrit at yours-untildeath dot demon dot nl>,docbook <docbook at lists dot oasis-open dot org>
- Date: Thu, 21 Feb 2002 20:42:24 -0500 (EST)
- Subject: Re: DOCBOOK: Re: Simplfying the ToC content model
Bob Stayton writes:
> I initially had a similar reaction, but then I decided
> that if I needed to create TOCs manually, that I would
> include a role attribute to identify the toc level
> for each entry:
>
> <tocentry role="chapter">...
> <tocentry role="sect1">...
That puts the burden on the user to verify manually that the nesting is
correct. Wasn't that what DTD's were supposed to provide? ISTM that
simplifying the implementation (i.e., the DTD) for a net negative benefit
of the user is not a good deal.
--
Peter Eisentraut peter_e@gmx.net