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 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.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
Not a specializable DITA element.
Example 54. Example
<dita>
<concept id="batintro"><title>Intro to bats</title><conbody><!-- ... --></conbody></concept>
<reference id="batparts"><title>Parts of bats</title><refbody><!-- ... --></refbody></reference>
<task id="batfeeding"><title>Feeding a bat</title><taskbody><!-- ... --></taskbody></task>
<task id="battraining"><title>Training a bat</title><taskbody><!-- ... --></taskbody></task>
<task id="batcleanup"><title>Cleaning a bat</title><taskbody><!-- ... --></taskbody></task>
</dita>
Attributes
The following attributes are available on this element:
xmlns:ditaarch and
DITAArchVersion from
Architectural attribute group,
Localization attribute group and
Debug attribute group.
Parent topic