3.2.1.3 conbodydiv

The <conbodydiv> element is similar to the <bodydiv> element in that it provides an informal container for content that may be grouped within a concept. There are no additional semantics attached to the conbodydiv element; it is purely a grouping element provided to help organize content.

The parent <conbody> element has a restriction that sections or examples can only be followed by other sections or examples. The <conbodydiv> element, which allows groupings of sections and examples, keeps the same restriction in place; once used, only sections, examples, or other <conbodydiv> groups are allowed.

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
concept, ditabase, glossary, glossentry, glossgroup, learningContent (example or section) (any number)

Contained by

Doctype Content model
concept, ditabase, glossary, glossentry, glossgroup, learningContent conbody

Inheritance

- topic/bodydiv concept/conbodydiv

Example

One common use case for the <conbodydiv> element is to group a sequence of sections for reuse, so that another concept may reference the entire set with a single conref attribute.

<concept id="sample" xml:lang="en">
 <title>Conbodydiv example</title>
 <shortdesc>This concept is a sample of how to
use conbodydiv.</shortdesc>
 <conbody>
  <p>Introduce the example.</p>
  <p>Next group some sections that may be reused elsewhere.</p>
  <conbodydiv id="my_conbodydiv">
   <section><title>First</title> ... </section>
   <section><title>Second</title> ... </section>
  </conbodydiv>
 </conbody>
</concept>

Attributes

Name Description Data Type Default Value Required?
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) A set of related attributes, described in univ-atts attribute group      
global-atts attribute group (xtrf, xtrc) A set of related attributes, described in global-atts attribute group      
class, outputclass Common attributes described in Other common DITA attributes      

Return to main page.

OASIS DITA Version 1.2 -- OASIS Standard, 1 December 2010
Copyright © OASIS Open 2005, 2010. All Rights Reserved.