<msgblock>

The <msgblock> element contains a multi-line message or set of messages. The message block can contain multiple message numbers and message descriptions, each enclosed in <msgnum> and <msgph> elements. It can also contain the message content directly. Line breaks and spaces are preserved when the element is rendered. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/pre sw-d/msgblock

Example

This section is non-normative.

<p>A sequence of failed password attempts generates the following
characteristic message stream:</p>
<msgblock>
I:0
S:3
I:1
S:3
I:1
S:4
S:99 (lockup)
</msgblock>

Content model

(Text | <data> | <data-about> | <foreign> | <unknown> | <keyword> | <term> | <text> | <msgph>)*

Not contained by any element.

Zero or more of the following
  • Text
  • <data>
  • <data-about>
  • <foreign>
  • <keyword>
  • <msgph>
  • <term>
  • <text>
  • <unknown>

Not contained by any element.

Inheritance

+ topic/pre sw-d/msgblock

The <msgblock> element is specialized from <pre>. It is defined in the sw-domain module.

Attributes

The following attributes are available on this element: Universal attribute group, Display attribute group, outputclass, xml:space, and spectitle.