OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita-machine-industry message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Hazard Statement example


Hi Chris, 

Isn't rendering a group of hazard statements in one table a bit tricky if you don't tell the xsl what is the beginning and the end of the list of hazard statements ? It would be easier I guess if there is a container element which groups all statements together. 

In its simplest form a hazardstatementlist can be a container of hazardstatements. The first improvement is an attribute that can steer the rendering in a direction. In case the type is table eg then the formatting of the table becomes the next level of detail. The layout of hazardstatement needs to be followed to determine the number of columns. Unfortunately there is no way to tell now if you want the 3 containers in messagepanel to be one cell element or separated over 3 cell elements(as in my layout example). And if you want it separated, it would be easy to have a table header so you know which column shows what. 

Some food for thought I would say.. 

<hazardstatementlist type=table>        (type can be table, unordered list, ordered list) 
        <hazardstatement type=danger labelformat=2 panelarrangement=horizontal>
                 <messagepanel>
                           <typeofhazard>Visible and/or Invisible Laser Radiation<typeofhazard>
                           <howtoavoid>Avoid direct exposure to beam.</howtoavoid>
                 </messagepanel>
                 <symbol href=laserbeam.png/>
       </hazardstatement> 
</hazardstatementlist> 

Regards, 

patrick 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]