<synph>

The <synph> (syntax phrase) element is a container for syntax definition elements. It is used when a complete syntax diagram is not needed, but some of the syntax elements, such as <kwd>, <oper>, or <delim> are used within the text flow of the topic content. This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts, and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/ph pr-d/synph

Example

This section is non-normative.

<synph><kwd>format</kwd> <var>volumename</var></synph>
 

Content model

(Text | <codeph> | <delim> | <kwd> | <oper> | <option> | <parmname> | <sep> | <synph> | <text> | <var>)*

Contained by

<synph>

Zero or more of the following
  • Text
  • <codeph>
  • <delim>
  • <kwd>
  • <oper>
  • <option>
  • <parmname>
  • <sep>
  • <synph>
  • <text>
  • <var>

Contained by

  • <synph>

Inheritance

+ topic/ph pr-d/synph

The <synph> element is specialized from <ph>. It is defined in the pr-domain module.

Attributes

The following attributes are available on this element: Universal attribute group and outputclass.