<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.
Content model
(Text |
<data>
|
<sort-as>
|
<foreign>
|
<keyword>
|
<markupname>
|
<apiname>
|
<option>
|
<parmname>
|
<cmdname>
|
<msgnum>
|
<varname>
|
<wintitle>
|
<numcharref>
|
<parameterentity>
|
<textentity>
|
<xmlatt>
|
<xmlelement>
|
<xmlnsname>
|
<xmlpi>
|
<term>
|
<abbreviated-form>
|
<text>
)*
- Text
-
<abbreviated-form>
-
<apiname>
-
<cmdname>
-
<data>
-
<foreign>
-
<keyword>
-
<markupname>
-
<msgnum>
-
<numcharref>
-
<option>
-
<parameterentity>
-
<parmname>
-
<sort-as>
-
<term>
-
<text>
-
<textentity>
-
<varname>
-
<wintitle>
-
<xmlatt>
-
<xmlelement>
-
<xmlnsname>
-
<xmlpi>
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.
The following attributes are available on this element: universal attributes and the attributes defined below.
@importance
- 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
This section is non-normative.
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>