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.
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) ) |
<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>
<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>
<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>
<hazardstatement type="notice"> <messagepanel> <typeofhazard>Battery low</typeofhazard> <howtoavoid>Push and hold for charge state test.</howtoavoid> </messagepanel> <hazardsymbol href="general.png"/> </hazardstatement>
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 |
Return to main page.
OASIS DITA Version 1.2 -- OASIS Standard, 1 December 2010
Copyright © OASIS Open 2005, 2010. All Rights Reserved.