View Categories

p.message-block

< 1 min read

Table of Contents

Syntax #

p.message-block

 

Purpose #

The p.message-block annotation is used to tag an element as being a set of messages, and can be single or multi-line. This block can contain message content or message numbers and messages contained in their own XML tags. This tag preserves line breaks and spacing.

Examples #

The following is an example of a time when you might want to use the annotations

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<p>Upon running the cn command, the following log entries will be created:</p>

<msgblock>cn:start

cn:name

cn:end</msgblock>