Other common DITA attributes

The following attributes are not part of an entity group but are common to many elements.

Name Description Data Type Default Value Required?
class Not for use by authors. If an editor displays class attribute values, do not edit them. The class attribute supports specialization. Its predefined values help the output transforms work correctly with ranges of related content. CDATA #IMPLIED No
outputclass Provides a value that will be added to the HTML class attribute for the associated output element, for use by CSS style sheets. May also be used by other output processes. CDATA #IMPLIED No
xml:space This attribute is provided on <pre>, <lines>, and on elements specialized from them. It ensures that parsers in editors and transforms respect the line-end characters that are part of the data in those elements. It is intended to be part of the default properties of these elements, and not for authors to change or delete. (preserve) #FIXED 'preserve' Yes

OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.