simplesect
simplesect — A section of a document with no subdivisions
Synopsis
Content Model
simplesect ::=
((title,subtitle?,titleabbrev?),
(calloutlist|glosslist|bibliolist|itemizedlist|orderedlist|
segmentedlist|simplelist|variablelist|caution|important|note|
tip|warning|literallayout|programlisting|programlistingco|
screen|screenco|screenshot|synopsis|cmdsynopsis|funcsynopsis|
classsynopsis|fieldsynopsis|constructorsynopsis|
destructorsynopsis|methodsynopsis|formalpara|para|simpara|
address|blockquote|graphic|graphicco|mediaobject|mediaobjectco|
informalequation|informalexample|informalfigure|informaltable|
equation|example|figure|table|msgset|procedure|sidebar|qandaset|
task|productionset|constraintdef|anchor|bridgehead|remark|
highlights|abstract|authorblurb|epigraph|indexterm|beginpage)+)
Attributes
Description
SimpleSect
is one of the top-level sectioning elements in a component. There are three types of sectioning elements in DocBook:
-
Explicitly numbered sections,
Sect1
…Sect5
, which must be properly nested and can only be five levels deep. -
Recursive
Section
s, which are alternative to the numbered sections and have unbounded depth. -
SimpleSect
s, which are terminal.SimpleSect
s can occur as the “leaf” sections in either recursive sections or any of the numbered sections, or directly in components.
SimpleSect
s may be more convenient than numbered sections in some authoring environments because they can be moved around in the document hierarchy without renaming.
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.
Processing expectations
Formatted as a displayed block. Sometimes sections are numbered.
Parents
These elements contain simplesect: appendix
, article
, chapter
, partintro
, preface
, sect1
, sect2
, sect3
, sect4
, sect5
, section
.
Children
The following elements occur in simplesect: abstract
, address
, anchor
, authorblurb
, beginpage
, bibliolist
, blockquote
, bridgehead
, calloutlist
, caution
, classsynopsis
, cmdsynopsis
, constraintdef
, constructorsynopsis
, destructorsynopsis
, epigraph
, equation
, example
, fieldsynopsis
, figure
, formalpara
, funcsynopsis
, glosslist
, graphic
, graphicco
, highlights
, important
, indexterm
, informalequation
, informalexample
, informalfigure
, informaltable
, itemizedlist
, literallayout
, mediaobject
, mediaobjectco
, methodsynopsis
, msgset
, note
, orderedlist
, para
, procedure
, productionset
, programlisting
, programlistingco
, qandaset
, remark
, screen
, screenco
, screenshot
, segmentedlist
, sidebar
, simpara
, simplelist
, subtitle
, synopsis
, table
, task
, tip
, title
, titleabbrev
, variablelist
, warning
.
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>Additional Coding</title>
<para>
Support for the additional features requested will be provided.
</para>
<simplesect><title>Estimated Time</title>
<para>
2 to 3 weeks.
</para>
</simplesect>
</sect1>
For additional examples, see also productionset
.