|Information types and topics / Working with topics|
The sectiondiv and bodydiv elements are used to help authors re-use a group of block elements as a single unit.
DITA 1.2 introduced sectiondiv and bodydiv elements. These elements mimic the HTML div element, which is used to group blocks of content that don't have any formal (or semantic) connection. In HTML, the div element is mainly used in conjunction with CSS and Dynamic HTML.
The bodydiv element allows block elements in the body of a topic to be grouped and treated as a single unit in processing. The sectiondiv element likewise allows block elements in a section of a topic to be grouped and treated as a single unit. The two elements are intended as an aid for the author, and their use will be invisible to the reader of the deliverable document.
The most common use of sectiondiv and bodydiv is to group paragraphs so they can be re-used (through a conref) as one unit, as an alternative to conref spanning, where a start and end point of a conref source is specified.
As you should avoid sections (and prefer separate topics), the need to use the sectiondiv element will be limited.
<conbody> ... <bodydiv id="ebd_intro"> <p>The EBD functions by adjusting the distribution of braking force to the rear wheels in accordance with the vehicle's loading condition and speed.</p> <p>The EBD system is an integral part of the ABS system and uses some of the ABS system's components to perform its function of optimizing the distribution of braking force. If any of the ABS components used by the EBD function fails, the EBD system also stops working.</p> </bodydiv> </conbody>
<conbody> <p>Your vehicle is equipped with Electronic Brakeforce Distribution (EBF).</p> <bodydiv conref="c_ebd.dita#concept_ebd_explanation/ebd_intro" /> ... </conbody>