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) |
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>