View Categories

s.syntax.separator.repeatable

< 1 min read

Table of Contents

Syntax #

s.syntax.separator.repeatable

Purpose #

The s.syntax.separator.repeatable annotation is used to tag a span element as a character identifying that a group of syntax may or must be repeated. The character annotated as a repeatable separator is used between repetitions of the syntax content.

Example #

The following is an example of a time when you might want to use the annotation

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<groupchoice>

<title>>group </title>

<repsep>,</repsep>

<kwd>OptionA</kwd>

<kwd>OptionB</kwd>

<kwd>OptionC</kwd>

</groupchoice>