dita
The <dita> element provides a top-level container for multiple topics when you create documents using the ditabase document type. The <dita> element lets you create any sequence of concept, task, and reference topics, and the ditabase document type lets you nest these topic types inside each other. The <dita> element has no particular output implications; it simply allows you to create multiple topics of different types at the same level in a single document.
Contains
Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype | Content model |
ditabase | |
Contained by
This element is not contained by any other elements.
Inheritance
Not a specializable DITA element.
Example 33. Example
<dita>
<concept id="batintro">...</concept>
<reference id="batparts">...</reference>
<task id="batfeeding">...</task>
<task id="battraining">...</task>
<task id="batcleanup">...</task>
</dita>
Attributes
Name | Description | Data Type | Default Value | Required? |
xml:lang | | language token or the null string | #IMPLIED | No |
xmlns:ditaarch | Declares the default DITA namespace. | | "http://dita.oasis-open.org/architecture/2005/" | |
DITAArchVersion | Designates the version of the architecture that is in use. The default value will increase with each release of DITA. | CDATA | "1.2" | No |
global-atts attribute group (xtrf, xtrc) | | | | |
Parent topic