Reference. Reference for the DocBook DTD

[Prev] [Next]


ToCchap

Name

ToCchap---Entry in a ToC for a part of the body of a Book

Synopsis

Content Model
  (ToCentry+, ToClevel1*)

Attributes

This element has common and Role attributes.

Name Value(s) Type Default Value
Label CDATA #IMPLIED  

Tag Minimization

The start-tag is required for this element. The end-tag is optional, if your SGML declaration allows minimization.

Description

See ToC. ToCchap must contain one or more ToCentries, followed by any number of ToClevel1s. ToCchap has Linkend, Label, PageNum, and common attributes.

Parents

These elements contain ToCchap: Appendix, Article, Chapter, ToC, and ToCpart.

Children

ToCchap contains these elements: ToCentry, and ToClevel1.

In some contexts, additional elements may be allowed by inclusions in parent elements.

Attributes

Label

Label holds an identifying number or string to be output in some manner when the element it is applied to is rendered.

Examples

<TOC><!-- table of contents for a book titled Big Countries of 
          the Western Hemisphere and A Few of Their Parts -->
<TITLE>Table of Contents</TITLE>
<TOCFRONT PAGENUM="viii">Preface</TOCFRONT>
<TOCPART>
<TOCENTRY>North America</TOCENTRY>
<TOCCHAP LABEL="1">
<TOCENTRY>Canada</TOCENTRY>
<TOCLEVEL1>
<TOCENTRY>Ontario</TOCENTRY>
<TOCENTRY>British Columbia</TOCENTRY>
</TOCLEVEL1>
</TOCCHAP>
<TOCCHAP LABEL="2">
<TOCENTRY>United States</TOCENTRY>
<TOCLEVEL1>
<TOCENTRY>California</TOCENTRY>
<TOCLEVEL2>
<TOCENTRY>Napa County</TOCENTRY>
</TOCLEVEL2>
<TOCLEVEL2>
<TOCENTRY>Sonoma County</TOCENTRY>
<TOCLEVEL3>
<TOCENTRY>Southern Sonoma County</TOCENTRY>
<TOCLEVEL4>
<TOCENTRY>Sebastopol</TOCENTRY>
<TOCLEVEL5>
<TOCENTRY>Morris Street</TOCENTRY>
</TOCLEVEL5>
</TOCLEVEL4>
</TOCLEVEL3>
</TOCLEVEL2>
</TOCLEVEL1>
<TOCLEVEL1>
<TOCENTRY>Nevada</TOCENTRY>
</TOCLEVEL1>
<TOCLEVEL1>
<TOCENTRY>Arizona</TOCENTRY>
</TOCLEVEL1>
</TOCCHAP>
</TOCPART>
<TOCPART>
<TOCENTRY>South America</TOCENTRY>
<TOCCHAP LABEL="1">
<TOCENTRY>Brazil</TOCENTRY>
</TOCCHAP>
<TOCCHAP LABEL="2">
<TOCENTRY>Argentina</TOCENTRY>
</TOCCHAP>
</TOCPART>
<TOCBACK PAGENUM="167">Glossary</TOCBACK>
<TOCBACK PAGENUM="177">Gazetteer</TOCBACK>
</TOC>


[Prev] ToCback
[Next] ToCentry
[Reference Home] [Davenport Group Home]