Boolean

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.

OASIS TC Note: This element is deprecated.

It is functionally equivalent to <state value="yes|no"/>, which is recommended as its replacement in all cases.

Contents

[edit] Example

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

[edit] Contains

Doctype Content model
ditabase, topic, task, reference, concept, glossary, map, bookmap no content

[edit] Contained by

Doctype Parents
bookmap title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, booklibrary, mainbooktitle, booktitlealt, organizationname
map title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry
ditabase title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, prereq, context, cmd, info, tutorialinfo, stepxmp, choice, choptionhd, chdeschd, choption, chdesc, stepresult, result, postreq, refsyn, proptypehd, propvaluehd, propdeschd, proptype, propvalue, propdesc, glossterm, glossdef, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote
topic title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote
task title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, prereq, context, cmd, info, tutorialinfo, stepxmp, choice, choptionhd, chdeschd, choption, chdesc, stepresult, result, postreq, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote
concept title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote
reference title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, refsyn, proptypehd, propvaluehd, propdeschd, proptype, propvalue, propdesc, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote
glossary title, shortdesc, desc, p, note, lq, q, sli, li, itemgroup, dthd, ddhd, dt, dd, pre, lines, ph, stentry, draft-comment, fn, cite, xref, entry, abstract, section, example, linkinfo, glossterm, glossdef, screen, b, u, i, tt, sup, sub, codeph, codeblock, pt, pd, fragref, synnote

[edit] Inheritance:

- topic/boolean


[edit] Attributes

Name Description Data Type Default Value Required?
state The state of the boolean element. Allowable values are: yes no 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      

TOC: Language Specification 1.1
Parent topic: Specialization elements
Previous topic: term

Retrieved from "http://www.ditawiki.org/index.php/Boolean"

This page has been accessed 177 times. This page was last modified 04:18, 13 July 2007.





This page
Discuss this page
Post a comment
Printable version
My pages
Log in / create account