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: Simplfying the ToC content model


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



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