Language reference : Base architecture : Domain elements : Hazard statement elements : hazardstatement
   
hazardstatement
The <hazardstatement> element contains hazard warning information. It is based on the regulations of ANSI Z535 and ISO 3864. It enables the author to select the type of hazard, add information about the specific hazard and how to avoid it, and add one or more safety symbols.
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, learningBookmap, learningMap
( (messagepanel) (one or more) then (hazardsymbol) (any number) )
Contained by
Doctype
Content model
topic (base)
map (base), classifyMap, subjectScheme, learningBookmap, learningMap
topic (technical content)
map (technical content), bookmap
concept
ditabase
glossary, glossentry, glossgroup
reference
task (strict), task (general)
machineryTask
Inheritance
+ topic/note hazard-d/hazardstatement
Example 140. Example
Danger: Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
<hazardstatement type="danger">
<messagepanel>
<typeofhazard>Rotating blade.</typeofhazard>
<consequence>Moving parts can crush and cut.</consequence>
<howtoavoid>Follow lockout procedure before servicing.</howtoavoid>
</messagepanel>
<hazardsymbol href="rotatingblade.png"/>
</hazardstatement>
Warning: Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
<hazardstatement type="warning">
<messagepanel>
<typeofhazard>Hot surfaces inside.</typeofhazard>
<consequence>Contact may cause burn.</consequence>
<howtoavoid>Wear protective gear before servicing internal parts.</howtoavoid>
</messagepanel>
<hazardsymbol href="hotsurface.png"/>
</hazardstatement>
Caution: Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury.
<hazardstatement type="caution">
<messagepanel>
<typeofhazard>Lifting Hazard.</typeofhazard>
<consequence>May result in injury.</consequence>
<howtoavoid>See safety manual for lifting instructions.</howtoavoid>
</messagepanel>
<hazardsymbol href="heavy.png"/>
</hazardstatement>
Notice: Indicates a potential situation which, if not avoided, may result in property damage or in an undesirable result or state.
<hazardstatement type="notice">
<messagepanel>
<typeofhazard>Battery low</typeofhazard>
<howtoavoid>Push and hold for charge state test.</howtoavoid>
</messagepanel>
<hazardsymbol href="general.png"/>
</hazardstatement>
Attributes
Name
Description
Data Type
Default Value
Required?
type
Describes the level of hazard. Safety hazard level definitions correspond to the same values in the ANSI Z535 and the ISO 3864 standards.
(note | tip | fastpath | restriction | important | remember | attention | caution | notice | danger | warning | other | -dita-use-​conref-​target)
#IMPLIED
No
spectitle
The specialized title attribute allows architects of specialized types to define a fixed or default title for a specialized element. Not intended for direct use by authors.
CDATA
#IMPLIED
No
othertype
Indicates an alternate note type, when the type is not available in the type attribute value list. This value is used as the user-provided note title when the type attribute value is set to "other."
CDATA
#IMPLIED
No
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