| 1 | <refentry id="tocchap.element"> |
| 2 | <?dbhtml filename="tocchap.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>tocchap</secondary></indexterm> |
| 11 | <refentrytitle>tocchap</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>tocchap</refname> |
| 16 | <refpurpose>&tocchap.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &tocchap.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | The <sgmltag>ToCchap</sgmltag> element is a chapter-level <sgmltag>ToC</sgmltag> element |
| 24 | for components in the main body of a document. |
| 25 | </para> |
| 26 | |
| 27 | <refsect2><title>Processing expectations</title> |
| 28 | <para> |
| 29 | &format.block; |
| 30 | </para> |
| 31 | <para> |
| 32 | In real life, <sgmltag>ToC</sgmltag>s are usually generated automatically |
| 33 | by the presentation system and never have to be represented explicitly |
| 34 | in the document source. |
| 35 | </para> |
| 36 | </refsect2> |
| 37 | |
| 38 | |
| 39 | &tocchap.parents.gen; |
| 40 | &tocchap.children.gen; |
| 41 | </refsect1> |
| 42 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 43 | <variablelist> |
| 44 | <varlistentry><term>label</term> |
| 45 | <listitem> |
| 46 | <para> |
| 47 | <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. |
| 48 | </para> |
| 49 | <para> |
| 50 | Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is |
| 51 | used only if the processing system is incapable of generating the label |
| 52 | automatically. If present, the <sgmltag class='attribute'>Label</sgmltag> |
| 53 | is normative; it will used even |
| 54 | if the processing system is capable of automatic labelling. |
| 55 | </para> |
| 56 | </listitem> |
| 57 | </varlistentry> |
| 58 | </variablelist> |
| 59 | </refsect1> |
| 60 | <refsect1><title>Examples</title> |
| 61 | |
| 62 | &tocchap.example.seealso.gen; |
| 63 | </refsect1> |
| 64 | </refentry> |
| 65 |