DITA Resource Center

<conbodydiv>

The <conbodydiv> element is similar to the <bodydiv> element in that it provides an informal container for content that might 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 <section> or <example> elements 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.

Content models

See appendix for information about this element in OASIS document type shells.

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 can 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 might be reused elsewhere.</p>
  <conbodydiv id="my_conbodydiv">
   <section><title>First</title> ... </section>
   <section><title>Second</title> ... </section>
  </conbodydiv>
 </conbody>
</concept>

Attributes

The following attributes are available on this element: Universal attribute group and @outputclass.

Was this page helpful?