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

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 3.4.1.3 univ-atts attribute group

     

global-atts attribute group (xtrf, xtrc)

A set of related attributes, described in 3.4.1.2 global-atts attribute group

     

class, outputclass

Common attributes described in 3.4.1.9 Other common DITA attributes

     

Previous Topic:  3.2.1.2 conbody

Next Topic:  3.2.2 Task elements

Parent Topic:  3.2.1 Concept elements

Sibling Topics:

3.2.1.1 concept

3.2.1.2 conbody