Language reference : Base architecture : Specialization elements : state
   
state
The <state> element specifies a name/value pair whenever it is necessary to represent a named state that has a variable value. The element is primarily intended for use in specializations to represent specific states (like logic circuit states, chemical reaction states, airplane instrumentation states, and so forth).
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/state
Example 193. Example
<step><cmd>Verify the presence of an "on" or high condition at the input gate
(ie, <state name="inflag" value="high"/>)</cmd></step>
Attributes
Name
Description
Data Type
Default Value
Required?
name
The name of the property whose state is being described.
CDATA
#REQUIRED
Yes
value
The state of the property identified by the name attribute.
CDATA
#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