title

$Revision: 1666 $

$Date: 2002-06-12 07:19:37 -0400 (Wed, 12 Jun 2002) $

title — The text of the title of a section of a document or of a formal block-level element

Synopsis

Mixed Content Model

title ::=
(%title.char.mix;)*

Attributes

Common attributes

Name

Type

Default

pagenumCDATANone

Parameter Entities

The following parameter entities contain title:

Parameter Entities
%bibliocomponent.mix;%bookcomponent.title.content;%div.title.content;
%formalobject.title.content;%info.class;%refsect.title.content;
%sect.title.content;%tbl.table-titles.mdl;%tbl.table.mdl;
%titles;  

Description

Title is widely used in DocBook. It identifies the titles of documents and parts of documents, and is the required caption on formal objects. It is also allowed as an optional title or caption on many additional block elements.

Processing expectations

Formatted as a displayed block. Titles are often repeated in several locations, for example, at the location where the object occurs, in the table of contents, and in running headers and footers.

DocBook does not offer any mechanism for indicating where a line break should occur in long titles. Titles are often repeated and no single line break is likely to be correct in all of the places where a title is used. Instead, you will have to rely on your processing system to provide a mechanism, such as a processing instruction, for identifing the location of forced line breaks.

There are some contexts in which a Title can appear more than once. For example, it may appear in both Book and BookInfo:

<book><title>Some Book Title</title>
<bookinfo>
  <title>Some Book Title</title>
  <author><firstname>Some</firstname><surname>Author</surname>
    </author>
</bookinfo>
…

In these contexts, if the Title occurs more than once, the same title must be used in both places. It is an error to use different titles, although DocBook has no way to detect the error.

Future Changes

The InterfaceDefinition element will be discarded in DocBook V4.0. It will no longer be available in the content model of this element.

Attributes

pagenum

PageNum identifies the page on which this Title appears in some version of the printed document.

See Also

subtitle, titleabbrev.

Examples

<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<sect1><title>A Sect One</title>
<para>
Actual content.
</para>
</sect1>

For additional examples, see also abstract, appendix, article, audioobject, beginpage, bibliography, bibliomset, biblioset, book, bookinfo, caution, chapter, collab, contractsponsor, equation, example, figure, formalpara, glossary, graphic, highlights, html-form, index, indexterm, link, lot, note, olink, othercredit, para, part, procedure, productionset, qandaset, refentry, reference, remark, sect1info, section, segmentedlist, set, sidebar, simplesect, table, titleabbrev, variablelist, xref.