Language reference : Base elements : Topic elements : Body elements : sl
WebWorks  
sl
The <sl> element contains a simple list of items of short, phrase-like content, such as a list of materials in a kit or package.
On output, the list should have no bullets, on the assumption that each item is short enough to fit on one line, and needs no additional differentiation from its neighbors.
Contains
Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype
Content model
topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary
(sli) (one or more)
Contained by
Doctype
Content model
topic (base)
map (base), classifyMap, subjectScheme, learningBookmap, learningMap
topic (technical content)
map (technical content), bookmap
concept
ditabase
glossary, glossentry, glossgroup
reference
task (strict), task (general)
machineryTask
learningAssessment, learningOverview, learningSummary
learningContent
learningPlan
Inheritance
- topic/sl
Example 65. Example
In a reference topic discussing related modules, the following sample markup could be used:
<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>
Attributes
Name
Description
Data Type
Default Value
Required?
compact
Indicates close vertical spacing between the list items. Expanded spacing is the default value. The output result of compact spacing depends on the processor or browser. Allowed values are:
yes
Indicates compact spacing.
no
Indicates expanded spacing.
-dita-use-​conref-​target
See Using the -dita-use-conref-target value for more information.
 
(yes | no | -dita-use-​conref-​target)
#IMPLIED
No
spectitle
The specialized title attribute allows architects of specialized types to define a fixed or default title for a specialized element. Not intended for direct use by authors.
CDATA
#IMPLIED
No
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)
A set of related attributes, described in univ-atts attribute group
global-atts attribute group (xtrf, xtrc)
A set of related attributes, described in global-atts attribute group
class, outputclass
Common attributes described in Other common DITA attributes