preformat-type

Type of Preformatted Text

Type of content contained in the Preformatted Text element (for example, computer code, poetry, pseudocode, ASCII art, XML tagging).

Remarks

This attribute is intended to capture already recorded information; however, for many documents this type of data will not be available.

Attribute Values

In Element

<preformat>
Value Meaning
Data characters Text, numbers, or special characters.
Restriction: This attribute may be specified if the element is used.

Suggested usage

Although designed to accept any text as its value, potential values for this attribute might include:

code

Code example in a computer language such as C++ or Visual Basic

poetry

Poems

ascii

ASCII art

man-machine

A man-machine dialog, such as an error message and response

pseudocode

Code-like examples used in explanation