3.1.1.1.11 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

Doctype

Content model

ditabase

( topic or concept or task or reference or glossentry or glossgroup) (one or more)

Contained by

This element is not contained by any other elements.

Inheritance

Not a specializable DITA element.

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

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 3.4.1.2 global-atts attribute group

     

Previous Topic:  3.1.1.1.10 related-links

Next Topic:  3.1.1.2 Body elements

Parent Topic:  3.1.1.1 Basic topic elements

Sibling Topics:

3.1.1.1.1 topic

3.1.1.1.2 title

3.1.1.1.3 titlealts

3.1.1.1.4 searchtitle

3.1.1.1.5 navtitle

3.1.1.1.6 shortdesc

3.1.1.1.7 abstract

3.1.1.1.8 body

3.1.1.1.9 bodydiv

3.1.1.1.10 related-links