This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]