<sectiondiv>
The <sectiondiv>
element allows logical grouping of content within
a section. There is no additional meaning associated with the
<sectiondiv>
element. The <sectiondiv>
element
does not contain a title; the lowest level of titled content within a topic is the section
itself. If additional hierarchy is required, nested topics should be used in place of the
section.
The <sectiondiv>
element nests itself, so it can be specialized to
create structured information within sections. Another common use case for the
<sectiondiv>
element is to group a sequence of related elements for
reuse, so that another topic may reference the entire set with a single
@conref
attribute.
Because the <bodydiv>
element allows
<section>
, it cannot be used within
<section>
elements. Use the <div>
element to
group content that might occur in both topic bodies and sections.
See appendix for information about this element in OASIS document type shells.
- topic/sectiondiv
In the example below, the <sectiondiv>
element is used to group content
that can be reused elsewhere.
<section> <title>Nice pets</title> <sectiondiv id="smallpets"> <p>Cats are nice.</p> <p>Dogs are nice.</p> <p>Friends of mine really love their hedgehogs.</p> </sectiondiv> <sectiondiv id="biggerpets"> <p>Lots of people want ponies when they grow up.</p> <p>Llamas are also popular.</p> </sectiondiv> </section>
The following attributes are available on this element: Universal attribute group and outputclass.
Return to main page.
dita-v1.3-csd01-part1-base Standards Track Work Product | Copyright © OASIS Open 2015. All Rights Reserved. | 30 June 2015 |