simplelist

simplelist — An undecorated list of single words or short phrases

Synopsis

Content Model

simplelist ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • columns (integer)
  • type (enumeration)
    • “horiz”
    • “vert”
    • “inline”

Description

A SimpleList is a list of words or phrases. It offers a convenient alternative to the other list elements for inline content.

Processing expectations

Ironically, the processing expectations of a SimpleList are quite complex.

The presentation of a SimpleList is controlled by the Type attribute, which has three possible values:

Inline

Indicates that the Members of the list should be rendered as a comma separated, inline list.

Horiz

Indicates that the Members of the list should be rendered in a tabular fashion with members running across the rows.

Vert

Indicates that the Members of the list should be rendered in a tabular fashion with members running down the columns. This is the default.

In both of the tabular cases, the number of columns in the table is controlled by the Columns attribute.

Attributes

Common attributes and common linking attributes.

columns

FIXME:

type

FIXME:

Enumerated values:

horiz

FIXME:

vert

FIXME:

inline

FIXME:

Children

The following elements occur in simplelist: member.

See Also

calloutlist, itemizedlist, listitem, orderedlist, segmentedlist, variablelist

Examples

<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:
ABC
DEF
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:
ADG
BE 
CF 

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/30 21:59:13 $.