sect1

sect1 — A top-level section of document.

Synopsis

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • label
  • status

Additional Constraints

  • The root element must have a version attribute.

Description

A sect1 is one of the top-level sectioning elements in a component. There are three types of sectioning elements in DocBook:

  • Explicitly numbered sections, sect1sect5, which must be properly nested and can only be five levels deep.

  • Recursive sections, which are alternatives to the numbered sections and have unbounded depth.

  • simplesects, which are terminal. The simplesects can occur as the “leaf” sections in either recursive sections or any of the numbered sections, or directly in components.

None of the sectioning elements is allowed to “float” in a component. You can place paragraphs and other block elements before a section, but you cannot place anything after it.

This means that you cannot have content in the sect1 after the end of a sect2. This is consistent with the DocBook book model, because in a printed book it is usually impossible for a reader to detect the end of the enclosed second-level section and, therefore, all content after a second-level section appears in that section.

Processing expectations

Formatted as a displayed block. Sometimes sections are numbered.

Attributes

Common attributes and common linking attributes.

label

Specifies an identifying string for presentation purposes

status

Identifies the editorial or publication status of the element on which it occurs

Parents

These elements contain sect1: appendix, article, chapter, partintro, preface.

Children [+]

This element contains 70 elements.
Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)