<sl>

A simple list is a list that contains a few items of short, phrase-like content.

A simple list is typically rendered in the following way:

  • The content of each simple list item is placed on a separate line.
  • The lines are not distinguished by numbers, bullets, or icons.

( <data> | <sort-as> )*, <sli> +

Contained by

<abstract> , <body> , <bodydiv> , <dd> , <desc> , <div> , <draft-comment> , <entry> , <example> , <fallback> , <fig> , <figgroup> , <fn> , <howtoavoid> , <li> , <linkinfo> , <lq> , <note> , <p> , <section> , <stentry>

In order
  1. Zero or more of the following
  2. One or more <sli>

Contained by

- topic/sl

The <sl> element is a base element type. It is defined in the topic module.

The following attributes are available on this element: universal attributes and @compact.

The following attributes are available on this element: universal attributes and the attributes defined below.

Specifies whether the vertical spacing between list items is tightened. The following values are valid: yes, no, and -dita-use-conref-target. Some DITA processors or output formats might not support the @compact attribute.

Example

This section is non-normative.

The following code sample shows how a simple list could be used in a topic that discusses related modules:

<section>
  <title>Messages</title>
  <p>Messages from the ags_open module are identical with messages from:</p>
  <sl>
    <sli>ags_read</sli>
    <sli>ags_write</sli>
    <sli>ags_close</sli>
  </sl>
</section>