The <groupcomp> element is part of the subset of elements that define syntax diagrams in DITA. A group is a logical set of pieces of syntax that go together. The group composite means that the items that make up the syntax diagram will be formatted close together rather than being separated by a horizontal or vertical line, which is the usual formatting method. This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts, and reference information.

Content models

See appendix for information about this element in OASIS document type shells.


+ topic/figgroup pr-d/groupcomp


<syntaxdiagram frame="bottom">


The following attributes are available on this element: Universal attribute group (with a narrowed definition of @importance, given below) and outputclass.

The attribute indicates whether this item in a syntax diagram is optional, required, or default. Output processors can indicate this designation in a generated diagram. Allowable values are:
This section of the syntax is optional.
This section of the syntax is required.
This section of the syntax is used by default or has this default value.
See Using the -dita-use-conref-target value for more information.

Return to main page.