<msgblock>

A message block is a multi-line message or set of messages that is produced by an application or device.

Usage information

The <msgblock> element can contain multiple message numbers and message descriptions, each enclosed in <msgnum> and <msgph> elements. It can also contain the message content directly.

Rendering expectations

Processors SHOULD preserve the line breaks and spaces that are present in the content of a <msgblock> element.

The content of the <msgblock> element is typically rendered in a monospaced font.

Specialization hierarchy

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

Content model

(Text | <data> | <sort-as> | <foreign> | <unknown> | <keyword> | <markupname> | <apiname> | <option> | <parmname> | <cmdname> | <msgnum> | <varname> | <wintitle> | <numcharref> | <parameterentity> | <textentity> | <xmlatt> | <xmlelement> | <xmlnsname> | <xmlpi> | <term> | <abbreviated-form> | <text> | <msgph> )*

Attributes

The following attributes are available on this element: display attributes, universal attributes, and @xml:space.

Example

The following code sample shows a <msgblock> element that contains a multi-line message that is returned by an application:

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