<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 models

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

Inheritance

+ topic/ph sw-d/msgph

Example

<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.