<sep>
The <sep>
element defines a separator character that is inline
with the content of a syntax diagram. The separator occurs between keywords, operators or groups in
a syntax definition. 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/sep
Example
<syntaxdiagram>
<title>Adding</title>
<groupseq><kwd>1</kwd><oper>+</oper><sep>(</sep><var>two</var><sep>)</sep>
<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,
required, or
default. Output processors can 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.
- default
- This section of the syntax is used by default or has this default value.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.