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:
horizList members appear horizontally in a table-like arrangement. The attribute
columncontrols the number of columns.vertList members appear vertically in a table-like arrangement. The attribute
columncontrols the number of columns.inlineList 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.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top