<cmdname>

The <cmdname> element specifies the name of a command when it is part of a software discussion. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.

Content models

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

Inheritance

+ topic/keyword sw-d/cmdname

Example

This section is non-normative.

<p>Use the <cmdname>rm</cmdname> command when
you wish to remove something forever.</p>

Content model

(Text | <text>)*

Not contained by any element.

Zero or more of the following
  • Text
  • <text>

Not contained by any element.

Inheritance

+ topic/keyword sw-d/cmdname

The <cmdname> element is specialized from <keyword>. It is defined in the sw-domain module.

Attributes

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