View Categories

s.syntax.group-choice

< 1 min read

Table of Contents

Syntax #

s.syntax.group-choice

 

Purpose #

The s.syntax.group-choice annotation is used to tag a span element as being an option that the user can choose in a syntax diagram. A group choice can be nested within a group sequence or group composite.

 

This annotation can be applied at both the span and paragraph scopes.

Examples #

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

 

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>