XML technologies / DocBook / Block elements / Lists / Simple list (simplelist)

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

For list-like content within paragraphs, use simplelist. It has no title. The arrangement of list members is controlled by the type attribute:

horiz

List members appear horizontally in a table-like arrangement. The attribute column controls the number of columns.

vert

List members appear vertically in a table-like arrangement. The attribute column controls the number of columns.

inline

List members appear directly in the text, separated by commas.

Example code for a simplelist looks as follows:

<para>Eine <sgmltag>simplelist</sgmltag> ('inline'): <simplelist type='inline'><member>Eins</member> <member>Zwei</member> <member>Drei</member> <member>Vier</member></simplelist>.</para>

For DocBook 5, replace sgmltag with tag. The simplelist looks as follows:

A simplelist ('inline'): Eins, Zwei, Drei, Vier.

  

back to top