simplelist — An undecorated list of single words or short phrases
simplelist ::=
Common attributes and common linking attributes.
Additional attributes:
A simplelist
is a list of words or phrases. It offers a convenient alternative to the other list elements for inline content.
Ironically, the processing expectations of a simplelist
are quite complex. The value of the type
attribute determines if the list is presented inline, or in a row- or column-major table. In the table cases, the columns
attribute determines the number of columns in the table.
Common attributes and common linking attributes.
Specifies the number of columns for horizontal or vertical presentation
Specifies the type of list presentation.
Enumerated values: | |
---|---|
“horiz” |
A tabular presentation in row-major order. |
“vert” |
A tabular presentation in column-major order. |
“inline” |
An inline presentation, usually a comma-delimited list. |
These elements contain simplelist
: acknowledgements
, annotation
, answer
, appendix
, article
, bibliodiv
, bibliography
, bibliolist
, blockquote
, callout
, calloutlist
,
caption
(db.caption), caution
, chapter
, colophon
, constraintdef
, cover
, dedication
, entry
, example
, figure
, footnote
, glossary
, glossdef
,
glossdiv
, glosslist
, html:fieldset
, html:form
, important
, index
, indexdiv
, informalexample
, informalfigure
, itemizedlist
, legalnotice
, listitem
, msgexplan
, msgtext
, note
, orderedlist
, para
, partintro
, preface
, procedure
, qandadiv
, qandaset
, question
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, revdescription
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, setindex
, sidebar
, simplesect
, step
, taskprerequisites
, taskrelated
, tasksummary
, td
, textobject
, th
, tip
, toc
, tocdiv
, variablelist
, warning
.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example simplelist</title> <para>Here is a <tag>SimpleList</tag>, rendered inline: <simplelist type='inline'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para> </article>
Here is a SimpleList
, rendered inline: A, B, C, D, E, F, G
<article xmlns='http://docbook.org/ns/docbook'> <title>Example simplelist</title> <para>Here is the same <tag>SimpleList</tag> rendered horizontally with three columns: <simplelist type='horiz' columns='3'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para> </article>
Here is the same SimpleList
rendered horizontally with three columns:
A | B | C |
D | E | F |
G |
<article xmlns='http://docbook.org/ns/docbook'> <title>Example simplelist</title> <para>Finally, here is the list rendered vertically: <simplelist type='vert' columns='3'> <member>A</member> <member>B</member> <member>C</member> <member>D</member> <member>E</member> <member>F</member> <member>G</member> </simplelist> </para> </article>
Finally, here is the list rendered vertically:
A | D | G |
B | E | |
C | F |