Language reference : Base architecture : Specialization elements : boolean
   
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.
This element is deprecated. It is functionally equivalent to <state value="yes|no"/>, which is recommended as its replacement in all cases.
Contains
Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype
Content model
topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary
no content
Contained by
Doctype
Content model
topic (base)
map (base), classifyMap, subjectScheme, learningMap
topic (technical content), concept
map (technical content)
ditabase
glossary, glossentry, glossgroup
reference
task (strict), task (general)
bookmap
machineryTask
learningAssessment, learningOverview, learningSummary
learningBookmap
learningContent
learningPlan
Inheritance
- topic/boolean
Example 185. Example
She said "<boolean state="yes"/>" when I asked her to marry me!
Attributes
Name
Description
Data Type
Default Value
Required?
state
The state of the boolean element. Allowable values are: yes no
(yes | no | -dita-use-​conref-​target)
#IMPLIED
Yes
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)
A set of related attributes, described in univ-atts attribute group
global-atts attribute group (xtrf, xtrc)
A set of related attributes, described in global-atts attribute group
class, outputclass
Common attributes described in Other common DITA attributes