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.
( text data or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or term) (any number)
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 |
<syntaxdiagram> <title>Adding</title> <groupseq><kwd>1</kwd><oper>+</oper><sep>(</sep><var>two</var><sep>)</sep> <delim>=</delim><kwd>something</kwd></groupseq> </syntaxdiagram>
OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.