The <boolean> element is used to express one of two opposite values, such as yes or no, on or off, true or false, high or low, and so forth. The element itself is empty; the value of the element is stored in its state attribute, and the semantic associated with the value is typically in a specialized name derived from this element.
She said "<boolean state="yes"/>" when I asked her to marry me!
Doctype | Content model |
---|---|
ditabase, topic, task, reference, concept, glossary, map, bookmap | no content |
- topic/boolean
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; (%select-atts;, %id-atts;, %localization-atts;) | A set of related attributes, described at %univ-atts; | 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. |
Return to main page.
OASIS DITA Language Specification v1.1 -- Committee Draft 13 February 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.