The <fragment> element contains a labeled subpart of the syntax within a <syntaxdiagram>. The <fragment> element allows breaking out logical chunks of a large syntax diagram into named fragments. 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/fragment


<syntaxdiagram frame="none">


The following attributes are available on this element: Universal attribute group and outputclass.

Return to main page.