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.
concept, ditabase, glossary, glossentry, glossgroup, learningContent |
concept, ditabase, glossary, glossentry, glossgroup, learningContent |
- topic/bodydiv concept/conbodydiv
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>
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 |
|||
A set of related attributes, described in 3.4.1.2 global-atts attribute group |
||||
Common attributes described in 3.4.1.9 Other common DITA attributes |