The architectural attributes specify the version of DITA that the content supports; they also identify the DITA domains, structural types, and specializations that are in use by the content.
The architectural attributes should not be marked up in the source DITA map and topics. Instead, the values of the architectural attributes are handled by the processor when the content is processed, preferably through defaults set in the XML grammar. This practice ensures that the DITA content instances do not specify invalid values for the architectural attributes.
The architectural attributes are as follows:
@class
<dita>
element
that is used as the root of a ditabase document)
MUST
declare a @class
attribute.@domains
@domains
attribute.@DITAArchVersion
@DITAArchVersion
attribute. The
attribute is declared in a DITA namespace to allow
namespace-sensitive tools to detect DITA
markup.To make the document instance usable in the absence of an XML grammar, a normalization process can set the architectural attributes in the document instance.