<synblk>

The <synblk> (syntax block) element organizes small pieces of a syntax definition into a larger piece. 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.

Inheritance

+ topic/figgroup pr-d/synblk

Example

This section is non-normative.

<synblk>
<groupseq><kwd>this</kwd><sep>-</sep><kwd>is</kwd><sep>-</sep><kwd>a</kwd>
<sep>-</sep><var>test</var></groupseq>
</synblk>        

Content model

<title>?, (<fragment> | <fragref> | <groupchoice> | <groupcomp> | <groupseq> | <synnote> | <synnoteref>)*

Contained by

<syntaxdiagram>

In order
  1. Optional <title>
  2. Zero or more of the following
    • <fragment>
    • <fragref>
    • <groupchoice>
    • <groupcomp>
    • <groupseq>
    • <synnote>
    • <synnoteref>

Contained by

  • <syntaxdiagram>

Inheritance

+ topic/figgroup pr-d/synblk

The <synblk> element is specialized from <figgroup>. It is defined in the pr-domain module.

Attributes

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