<repsep>
The <repsep>
element identifies a
character that indicates that a group of syntax elements can (or
should) be repeated in a syntax diagram.
Usage information
If the <repsep>
element contains a separator character such as a
plus (+), this indicates that the character must be used between repetitions of the syntax
elements.
Specialization hierarchy
The <repsep>
element is specialized from
<ph>
. It is defined in the syntax-diagram domain module, which is a
specialization of the programming domain module.
Attributes
The following attributes are available on this element: universal attributes.
For this element, the
@importance
attribute indicates
whether this item in a syntax diagram is optional or
required. The attribute value is limited to
optional,
required, or
-dita-use-conref-target.
Example
In the following code sample, a file listing can be requested for
multiple volumes. The <repsep>
element
identifies that each requested volume can be separated with a comma
(,):
<syntaxdiagram>
<title>Request file listing</title>
<groupseq>
<kwd>clicmd</kwd>
<groupcomp><oper>--</oper><kwd>user</kwd><sep>=</sep><var>userid</var></groupcomp>
<groupcomp>
<repsep>,</repsep>
<oper>--</oper><kwd>filelist</kwd><sep>=</sep><var>volumeid</var>
</groupcomp>
</groupseq>
</syntaxdiagram>