preformat-type

Type of Preformatted Text

Type of content contained in the <preformat> element (for example, shape poetry, ASCII art, hand-created tabulations using tabs and spaces, etc.).

Remarks

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

Used on Element: <preformat>

ValueMeaning
Text, numbers, or special charactersA word or phrase that describes the content or names the type of content for the <preformat> element, for example, “poetry” for a formatted poem resembling a tree or or “dialog” for a man-machine dialog.
Restriction@preformat-type is an optional attribute; there is no default.

Suggested usage

Although designed to accept any text as its value, potential values for this attribute might include:
poetry
Poems
ascii
ASCII art
man-machine
A man-machine dialog, such as an error message and response
tabular
Tabular structures created by using spacing and tabs rather than tagging the row and column content using <array>

Example

    ...
<preformat preformat-type="dialog" xml:space="preserve"
position="anchor">
C:\users\lap make
  'make' is not recognized as:
    - an internal or external command
    - an operable program
    - a batch file
</preformat>
...