oper

The operator (<oper>) element defines an operator within a syntax definition. Typical operators are equals (=), plus (+) or multiply (*). This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts and reference information.

Contains

( text data or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or term) (any number)

Contained by

synph, groupseq, groupchoice, groupcomp

Inheritance

topic/ph, pr-d/oper

Attributes

Name Description Data Type Default Value Required?
importance The attribute indicates whether a variable is optional, required, or default. optional | required | default #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

Example

<syntaxdiagram>
  <title>Adding</title>
  <groupseq><kwd>1</kwd><oper>+</oper><var>two</var>
<delim>=</delim><kwd>something</kwd>
  </groupseq>
</syntaxdiagram>

OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.