<msgph>

The <msgph> element is a message phrase that contains the text content of a message produced by an application or program. It can also contain a variable name (<varname>) element to illustrate where variable text content can occur in the message. 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 model

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

Contained by

<msgblock>

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

Contained by

  • <msgblock>

Inheritance

+ topic/ph sw-d/msgph

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

Example

This section is non-normative.

<p>A server log entry of <msgnum>I:0</msgnum> is equivalent to the
text message, <msgph>informational: successful</msgph>.</p>

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.