DITA Resource Center

<delim>

The <delim> element defines a character marking the beginning or end of a section within a syntax diagram. Typical delimiter characters are the parenthesis, comma, tab, vertical bar or other special characters. 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/ph pr-d/delim

Example

<syntaxdiagram>
 <title>Adding</title>
 <groupseq><kwd>1</kwd><oper>+</oper><var>two</var><delim>=</delim>
 <kwd>something</kwd>
</groupseq>
</syntaxdiagram>

Attributes

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

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

Was this page helpful?