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.
| Doctype | Content model |
|---|---|
| ditabase | ( topic or concept or task or reference or glossentry or glossgroup) (one or more) |
This element is not contained by any other elements.
Not a specializable DITA element.
<dita> <concept id="batintro">...</concept> <reference id="batparts">...</reference> <task id="batfeeding">...</task> <task id="battraining">...</task> <task id="batcleanup">...</task> </dita>
| Name | Description | Data Type | Default Value | Required? |
|---|---|---|---|---|
| xml:lang | Specifies the language of the element content. The xml:lang attribute and its values are described in the XML Recommendation at http://www.w3.org/TR/REC-xml/#sec-lang-tag. | 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) | A set of related attributes, described in global-atts attribute group |
Return to main page.
OASIS DITA Version 1.2 -- OASIS Standard, 1 December 2010
Copyright © OASIS Open 2005, 2010. All Rights Reserved.