xml:space

Space

Requests that, when printing or displaying the associated element, all white space, such as tabs, ordinary spaces, and line breaks be preserved

Remarks

Used to keep explicit formatting, for example, in computer code, ASCII art, or poetry. In this Tag Set, the “xml:space” attribute is used with the Preformatted Text element, with its value fixed to “preserve”.

Attribute Values

In Element

<preformat>
Value Meaning
preserve White space should be preserved. (This value is fixed and cannot be changed in a document.)
Restriction: Restriction: This attribute value may not be changed.