<boolean>

The <boolean> element was deprecated in DITA version 1.1. It was originally intended to express one of two opposite values, such as yes / no or on / off.

Note (non-normative):
This element is deprecated. It is functionally equivalent to <state value="yes|no"/>, which is recommended as its replacement in all cases.

Content models

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

Inheritance

- topic/boolean

Example

This section is non-normative.

She said "<boolean state="yes"/>" when I asked her to marry me!

Content model

EMPTY

Contained by

<abstract>, <b>, <bodydiv>, <cite>, <data>, <dd>, <ddhd>, <desc>, <div>, <draft-comment>, <dt>, <dthd>, <entry>, <example>, <figgroup>, <fn>, <howtoavoid>, <i>, <itemgroup>, <li>, <line-through>, <lines>, <linkinfo>, <lq>, <note>, <overline>, <p>, <ph>, <pre>, <q>, <section>, <sectiondiv>, <shortdesc>, <sli>, <stentry>, <sub>, <sup>, <title>, <tt>, <u>, <xref>

Empty

Contained by

  • <abstract>
  • <b>
  • <bodydiv>
  • <cite>
  • <data>
  • <dd>
  • <ddhd>
  • <desc>
  • <div>
  • <draft-comment>
  • <dt>
  • <dthd>
  • <entry>
  • <example>
  • <figgroup>
  • <fn>
  • <howtoavoid>
  • <i>
  • <itemgroup>
  • <li>
  • <line-through>
  • <lines>
  • <linkinfo>
  • <lq>
  • <note>
  • <overline>
  • <p>
  • <ph>
  • <pre>
  • <q>
  • <section>
  • <sectiondiv>
  • <shortdesc>
  • <sli>
  • <stentry>
  • <sub>
  • <sup>
  • <title>
  • <tt>
  • <u>
  • <xref>

Inheritance

- topic/boolean

The <boolean> element is a base element type. It is defined in the topic module.

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and the attribute defined below.

@state (REQUIRED)
The state of the <boolean> element. Allowable values are "yes", "no", and "-dita-use-conref-target".
@state (REQUIRED)
The state of the <boolean> element. Allowable values are "yes", "no", and "-dita-use-conref-target".