sep

The separator (<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.

Contains

( text data or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or term) (any number)

Contained by

synph, groupseq, groupchoice, groupcomp

Inheritance

topic/ph, pr-d/sep

Attributes

Name Description Data Type Default Value Required?
importance The attribute indicates whether the element it modifies is optional or required. optional | required #IMPLIED No
%univ-atts-no-importance A set of related attributes, described at %univ-atts;, but without the importance attribute parameter entity PE not applicable Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not applicable Not applicable
class, outputclass Common attributes described in Other common DITA attributes

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>