<?xml version="1.0"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="http://www.stylusstudio.com/xquery">
    <xsl:template match="/">
        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
            <fo:layout-master-set>
                <fo:simple-page-master master-name="default-page" page-height="11in" page-width="8.5in" margin-left="0.6in" margin-right="0.6in">
                    <fo:region-body margin-top="0.79in" margin-bottom="0.79in"/>
                </fo:simple-page-master>
            </fo:layout-master-set>
            <fo:page-sequence master-reference="default-page">
                <fo:flow flow-name="xsl-region-body">
                    <fo:block>
                        <fo:block text-align="left">
                            <fo:block>
                                <fo:block text-align="center">
                                    <fo:block>
                                        <fo:inline font-size="12pt" font-weight="bold">
                                            <xsl:text>SECTION 1</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-size="14pt" font-weight="bold">
                                            <xsl:text>GENERAL INFORMATION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>TITLE PAGE INFORMATION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>Equipment Name</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ResourceConfiguration.DisplayText"/>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>Section</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ParentCapability.DisplayText"/>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>Directions for the use and amendment of the document</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">This document is a report of the Hazard Analysis on the 
                                            <xsl:value-of select="/TAMPSummaryReport/@Capability.DisplayText"/>.  This item was analysed as part of the 
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@Project.Name"/> project carried out by the 
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@ControllingBody.PrimaryName"/> in  
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@Project.DateCommenced"/>.  This project examined the hazards and risks associated with the use of the 
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@ScopeCapability.DisplayText"/>
                                            <xsl:text>.</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">This document may not be amended other than through a revision of the Hazard Analysis project results by the 
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@ControllingBody.PrimaryName"/>
                                            <xsl:text>.</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>Distribution</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                            <xsl:text>Distribution is controlled</xsl:text>
                                        </fo:inline>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="bold">
                                            <xsl:text> </xsl:text>
                                        </fo:inline>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">by the 
                                            <xsl:value-of select="/TAMPSummaryReport/Project/@ControllingBody.PrimaryName"/>
                                            <xsl:text>.</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <xsl:text> </xsl:text>
                            </fo:block>
                            <fo:block>
                                <fo:block text-align="left">
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-size="11pt" font-weight="bold">
                                            <xsl:text>EQUIPMENT IDENTIFICATION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                    <fo:table-column column-width="2%"/>
                                    <fo:table-column column-width="25%"/>
                                    <fo:table-column/>
                                    <fo:table-body>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Manufacturer</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@Manufacturer"/>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Model Type</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ResourceConfiguration.DisplayText"/>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Technical Authority</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:value-of select="/TAMPSummaryReport/Project/@ControllingBody.PrimaryName"/>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Functional Description</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Not available - to be provided</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Physical Description</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:value-of select="/TAMPSummaryReport/@Capability.DisplayText"/>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                    </fo:table-body>
                                </fo:table>
                            </fo:block>
                            <fo:block>
                                <fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-size="11pt" font-weight="bold">
                                            <xsl:text>EQUIPMENT BREAKDOWN</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                            <xsl:text>Not detailed at this level.</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>LOGISTIC REQUIREMENTS</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                            <xsl:text>Not detailed at this level</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                            <xsl:text>TECHNICAL DOCUMENTATION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                    <fo:table-column column-width="2%"/>
                                    <fo:table-column column-width="25%"/>
                                    <fo:table-column/>
                                    <fo:table-body>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Maintenance Plan</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Not detailed at this level</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Maintenance Strategy</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Planned maintenance</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Statement of Relevance</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Not detailed at this level</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Planned Maintenance</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <xsl:for-each select="/TAMPSummaryReport/DetailedAssessment/HazardAssessment">
                                                            <xsl:variable name="HazardAssessment" select="."/>
                                                            <fo:block>
                                                                <fo:block>
                                                                    <fo:block>
                                                                        <xsl:for-each select="RiskAssessment">
                                                                            <xsl:variable name="RiskAssessment" select="."/>
                                                                            <fo:block>
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:for-each select="RiskMitigationOptionAnalysis">
                                                                                            <xsl:variable name="RiskMitigationOptionAnalysis" select="."/>
                                                                                            <fo:block>
                                                                                                <fo:block>
                                                                                                    <fo:block>
                                                                                                        <xsl:for-each select="RiskMitigationControl">
                                                                                                            <xsl:variable name="RiskMitigationControl" select="."/>
                                                                                                            <fo:block>
                                                                                                                <fo:block>
                                                                                                                    <fo:block>
                                                                                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                                                                                            <xsl:value-of select="@Activity.Code"/>  
                                                                                                                            <xsl:value-of select="@Activity.Title"/>
                                                                                                                        </fo:inline>
                                                                                                                    </fo:block>
                                                                                                                </fo:block>
                                                                                                            </fo:block>
                                                                                                        </xsl:for-each>
                                                                                                    </fo:block>
                                                                                                </fo:block>
                                                                                            </fo:block>
                                                                                        </xsl:for-each>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:block>
                                                                        </xsl:for-each>
                                                                    </fo:block>
                                                                </fo:block>
                                                            </fo:block>
                                                        </xsl:for-each>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                        <fo:table-row>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block/>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                <fo:block>
                                                    <fo:block>
                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                            <xsl:text>Drawings and Handbooks</xsl:text>
                                                        </fo:inline>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                <fo:block>
                                                    <fo:block>
                                                        <xsl:for-each select="/TAMPSummaryReport/ProjectItem/Reference">
                                                            <xsl:variable name="Reference" select="."/>
                                                            <fo:block>
                                                                <fo:block>
                                                                    <fo:block>
                                                                        <fo:inline font-family="Times New Roman" font-size="11pt">
                                                                            <xsl:value-of select="@Document"/>
                                                                        </fo:inline>
                                                                    </fo:block>
                                                                </fo:block>
                                                            </fo:block>
                                                        </xsl:for-each>
                                                    </fo:block>
                                                </fo:block>
                                            </fo:table-cell>
                                        </fo:table-row>
                                    </fo:table-body>
                                </fo:table>
                            </fo:block>
                            <fo:block>
                                <fo:block text-align="center">
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-size="12pt" font-weight="bold">
                                            <xsl:text>SECTION 2</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                    <fo:block>
                                        <fo:inline font-size="14pt" font-weight="bold">
                                            <xsl:text>TAMP / MMI ANALYSIS INFORMATION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <fo:block>
                                    <fo:block>
                                        <fo:inline font-size="11pt" font-weight="bold">
                                            <xsl:text>INTRODUCTION</xsl:text>
                                        </fo:inline>
                                    </fo:block>
                                    <fo:block>
                                        <xsl:text> </xsl:text>
                                    </fo:block>
                                </fo:block>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">The 
                                    <xsl:value-of select="/TAMPSummaryReport/@Capability.DisplayText"/> was analysed as part of the 
                                    <xsl:value-of select="/TAMPSummaryReport/Project/@Project.Name"/> project carried out by the 
                                    <xsl:value-of select="/TAMPSummaryReport/Project/@ControllingBody.PrimaryName"/> in 
                                    <xsl:value-of select="/TAMPSummaryReport/Project/@Project.DateCommenced"/>
                                    <xsl:text>.</xsl:text>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <xsl:text> </xsl:text>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">The scope of the project was the 
                                    <xsl:value-of select="/TAMPSummaryReport/Project/@ScopeCapability.DisplayText"/>
                                    <xsl:text>.  Consequence categories assessed were:</xsl:text>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">
                                    <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                        <fo:table-column column-width="2%"/>
                                        <fo:table-column/>
                                        <fo:table-body>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <fo:list-block provisional-distance-between-starts="30pt" provisional-label-separation="10pt">
                                                                <xsl:for-each select="/TAMPSummaryReport/Project/ConsequenceCategory">
                                                                    <xsl:variable name="ConsequenceCategory" select="."/>
                                                                    <fo:list-item>
                                                                        <fo:list-item-label end-indent="label-end()">
                                                                            <fo:block>
                                                                                <xsl:number value="position()" format="a."/>
                                                                            </fo:block>
                                                                        </fo:list-item-label>
                                                                        <fo:list-item-body start-indent="body-start()">
                                                                            <fo:block>
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:value-of select="@ConsequenceCategory.Name"/>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:block>
                                                                        </fo:list-item-body>
                                                                    </fo:list-item>
                                                                </xsl:for-each>
                                                            </fo:list-block>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                        </fo:table-body>
                                    </fo:table>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">
                                    <fo:block font-family="Times New Roman" font-size="11pt">
                                        <fo:block>
                                            <xsl:text> </xsl:text>
                                        </fo:block>
                                        <fo:block>
                                            <xsl:text> </xsl:text>
                                        </fo:block>
                                        <fo:block>
                                            <fo:inline font-family="Arial" font-weight="bold">
                                                <xsl:text>ITEM DESCRIPTION</xsl:text>
                                            </fo:inline>
                                        </fo:block>
                                    </fo:block>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">
                                    <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                        <fo:table-column column-width="2%"/>
                                        <fo:table-column column-width="25%"/>
                                        <fo:table-column/>
                                        <fo:table-body>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Capability</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/@Capability.DisplayText"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Parent Capability</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ParentCapability.DisplayText"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Location</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Make and Model</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ResourceConfiguration.DisplayText"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Equipment Class</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ResourceClass.Name"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Function</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@Activity.Title"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                        </fo:table-body>
                                    </fo:table>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">
                                    <fo:block font-family="Times New Roman" font-size="11pt">
                                        <fo:block>
                                            <xsl:text> </xsl:text>
                                        </fo:block>
                                        <fo:block>
                                            <xsl:text> </xsl:text>
                                        </fo:block>
                                        <fo:block>
                                            <fo:inline font-family="Arial" font-weight="bold">
                                                <xsl:text>COARSE ASSESSMENT</xsl:text>
                                            </fo:inline>
                                        </fo:block>
                                        <fo:block>
                                            <xsl:text> </xsl:text>
                                        </fo:block>
                                        <fo:block>
                                            <fo:inline font-family="Times New Roman" font-weight="normal">
                                                <xsl:text>The initial analysis carried out on the item was a coarse assessment, to determine if there was a need to perform a detailed assessment.  The results of this coarse assessment are as follows:</xsl:text>
                                            </fo:inline>
                                        </fo:block>
                                    </fo:block>
                                    <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                        <fo:table-column column-width="2%"/>
                                        <fo:table-column column-width="35%"/>
                                        <fo:table-column/>
                                        <fo:table-body>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Mandatory requirements were examined</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Yes</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Mandatory requirements prescribe a solution</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/CoarseAssessment/@SolutionIsPrescribed"/>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Mission criticality</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/CoarseAssessment/@MissionCriticality"/>
                                                        </fo:block>
                                                        <fo:block>
                                                            <fo:inline font-size="8pt">
                                                                <xsl:text>As defined in the USN FFG 7 Class Preparers Guide Progressive Ships Maintenance Logistic Support Analysis</xsl:text>
                                                            </fo:inline>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Energy Impact assessment</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                <fo:table-column column-width="25%"/>
                                                                <fo:table-column/>
                                                                <fo:table-body>
                                                                    <xsl:for-each select="/TAMPSummaryReport/CoarseAssessment/Energy">
                                                                        <xsl:variable name="Energy" select="."/>
                                                                        <fo:table-row>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:value-of select="@EnergyCategory"/>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:table-cell>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:value-of select="@Comments"/>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:table-cell>
                                                                        </fo:table-row>
                                                                    </xsl:for-each>
                                                                </fo:table-body>
                                                            </fo:table>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Worst impact assessment</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                <fo:table-column column-width="25%"/>
                                                                <fo:table-column/>
                                                                <fo:table-body>
                                                                    <xsl:for-each select="/TAMPSummaryReport/CoarseAssessment/WorstImpactAssessment">
                                                                        <xsl:variable name="WorstImpactAssessment" select="."/>
                                                                        <fo:table-row>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:value-of select="@ConsequenceCategory.Name"/>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:table-cell>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <xsl:value-of select="@ImpactName.Name"/>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:table-cell>
                                                                        </fo:table-row>
                                                                    </xsl:for-each>
                                                                </fo:table-body>
                                                            </fo:table>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                            <fo:table-row>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block/>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:text>Quantitative item</xsl:text>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                    <fo:block>
                                                        <fo:block>
                                                            <xsl:value-of select="/TAMPSummaryReport/CoarseAssessment/@IsQuantitativeItem"/>
                                                        </fo:block>
                                                        <fo:block>
                                                            <fo:inline font-size="8pt">
                                                                <xsl:text>As defined in Technical Directive TM181 - General requirements for the calibration and checking of shipboard gauges</xsl:text>
                                                            </fo:inline>
                                                        </fo:block>
                                                    </fo:block>
                                                </fo:table-cell>
                                            </fo:table-row>
                                        </fo:table-body>
                                    </fo:table>
                                </fo:inline>
                            </fo:block>
                            <fo:block>
                                <fo:inline font-family="Times New Roman" font-size="11pt">
                                    <xsl:choose>
                                        <xsl:when test="/TAMPSummaryReport/CoarseAssessment/IsDetailedAssessmentRequired = 'Yes'">
                                            <fo:block>
                                                <fo:block>
                                                    <xsl:text>The determination of this coarse assessment was that </xsl:text>
                                                    <fo:inline font-weight="bold">
                                                        <xsl:text>a detailed assessment was required</xsl:text>
                                                    </fo:inline>
                                                    <xsl:text>.</xsl:text>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <fo:inline font-family="Arial" font-weight="bold">
                                                                    <xsl:text>DETAILED ASSESSMENT</xsl:text>
                                                                </fo:inline>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <fo:inline font-family="Arial" font-weight="bold">
                                                                    <xsl:text>Overview</xsl:text>
                                                                </fo:inline>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>A detailed assessment was conducted for all occurrences of the 
                                                                <xsl:value-of select="/TAMPSummaryReport/ProjectItem/@ResourceConfiguration.DisplayText"/> within the 
                                                                <xsl:value-of select="/TAMPSummaryReport/Project/@ScopeCapability.DisplayText"/>
                                                                <xsl:text>.  The detailed assessment involved the following:</xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                                <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                    <fo:table-column column-width="30pt"/>
                                                                    <fo:table-column/>
                                                                    <fo:table-body>
                                                                        <fo:table-row>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block/>
                                                                            </fo:table-cell>
                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                <fo:block>
                                                                                    <fo:block>
                                                                                        <fo:list-block provisional-distance-between-starts="30pt" provisional-label-separation="10pt">
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="1" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>Identifying the different hazard and risk contexts in which the item was located</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="1" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>For each hazard context, identifying and assessing each hazard that exists</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="2" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>For each hazard, identifying and assessing each risk that could arise</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="3" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>For each risk, identifying the various options considered for risk mitigation</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="4" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>For each option, identifying each control (eg. planned maintenance activity) put in place to implement the option</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                            <fo:list-item>
                                                                                                <fo:list-item-label end-indent="label-end()">
                                                                                                    <fo:block>
                                                                                                        <xsl:number value="5" format="a."/>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-label>
                                                                                                <fo:list-item-body start-indent="body-start()">
                                                                                                    <fo:block>
                                                                                                        <fo:block>
                                                                                                            <fo:block>
                                                                                                                <xsl:text>For each control, assessing its criticality and determining if the control is a Mandatory Planned Maintenance Item</xsl:text>
                                                                                                            </fo:block>
                                                                                                        </fo:block>
                                                                                                    </fo:block>
                                                                                                </fo:list-item-body>
                                                                                            </fo:list-item>
                                                                                        </fo:list-block>
                                                                                    </fo:block>
                                                                                </fo:block>
                                                                            </fo:table-cell>
                                                                        </fo:table-row>
                                                                    </fo:table-body>
                                                                </fo:table>
                                                            </fo:block>
                                                        </fo:block>
                                                        <fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <fo:inline font-family="Arial" font-weight="bold">
                                                                    <xsl:text>Context of Use</xsl:text>
                                                                </fo:inline>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text>Analysis identified a number of different situations that are likely to result in different types and likelihoods of hazards, and different exposures to and types of consequences.  These contexts are as follows:</xsl:text>
                                                            </fo:block>
                                                        </fo:block>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                            <fo:table-column column-width="30pt"/>
                                                            <fo:table-column/>
                                                            <fo:table-body>
                                                                <fo:table-row>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block/>
                                                                    </fo:table-cell>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block>
                                                                            <fo:block>
                                                                                <fo:inline font-weight="bold">
                                                                                    <xsl:text>Hazard Contexts</xsl:text>
                                                                                </fo:inline>
                                                                                <xsl:text>.  The situations likely to result in different types and likelihoods of hazards.</xsl:text>
                                                                            </fo:block>
                                                                        </fo:block>
                                                                    </fo:table-cell>
                                                                </fo:table-row>
                                                            </fo:table-body>
                                                        </fo:table>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                            <fo:table-column column-width="60pt"/>
                                                            <fo:table-column/>
                                                            <fo:table-body>
                                                                <fo:table-row>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block/>
                                                                    </fo:table-cell>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block>
                                                                            <fo:block>
                                                                                <xsl:for-each select="/TAMPSummaryReport/DetailedAssessment/HazardContextAssessment">
                                                                                    <xsl:variable name="HazardContextAssessment" select="."/>
                                                                                    <fo:block>
                                                                                        <fo:block>
                                                                                            <fo:block>
                                                                                                <fo:inline font-weight="bold">
                                                                                                    <xsl:value-of select="@HazardContextAssessment.Title"/>
                                                                                                </fo:inline>
                                                                                            </fo:block>
                                                                                            <fo:block>
                                                                                                <fo:inline font-weight="bold">
                                                                                                    <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                                                        <fo:table-column column-width="30pt"/>
                                                                                                        <fo:table-column column-width="25%"/>
                                                                                                        <fo:table-column/>
                                                                                                        <fo:table-body>
                                                                                                            <fo:table-row>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block/>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:text>Operating Environment</xsl:text>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:value-of select="@OperatingEnvironment.Name"/>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                            </fo:table-row>
                                                                                                            <fo:table-row>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block/>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:text>Operating Mode</xsl:text>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:value-of select="@OperatingMode.Name"/>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                            </fo:table-row>
                                                                                                            <fo:table-row>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block/>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:text># operating cycles / year</xsl:text>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:value-of select="@HazardContextAssessment.AnnualFrequency"/>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                            </fo:table-row>
                                                                                                            <fo:table-row>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block/>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:text># operating hours / year</xsl:text>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                <xsl:value-of select="@HazardContextAssessment.AnnualOperatingHours"/>
                                                                                                                            </fo:inline>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                            </fo:table-row>
                                                                                                            <fo:table-row>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block/>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <xsl:text> </xsl:text>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                    <fo:block>
                                                                                                                        <fo:block>
                                                                                                                            <xsl:text> </xsl:text>
                                                                                                                        </fo:block>
                                                                                                                    </fo:block>
                                                                                                                </fo:table-cell>
                                                                                                            </fo:table-row>
                                                                                                        </fo:table-body>
                                                                                                    </fo:table>
                                                                                                </fo:inline>
                                                                                            </fo:block>
                                                                                        </fo:block>
                                                                                    </fo:block>
                                                                                </xsl:for-each>
                                                                            </fo:block>
                                                                        </fo:block>
                                                                    </fo:table-cell>
                                                                </fo:table-row>
                                                            </fo:table-body>
                                                        </fo:table>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <xsl:text> </xsl:text>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                            <fo:table-column column-width="30pt"/>
                                                            <fo:table-column/>
                                                            <fo:table-body>
                                                                <fo:table-row>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block/>
                                                                    </fo:table-cell>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block>
                                                                            <fo:block>
                                                                                <fo:inline font-weight="bold">
                                                                                    <xsl:text>Risk Contexts</xsl:text>
                                                                                </fo:inline>
                                                                                <xsl:text>.  The situations likely to result in different exposures to different types of consequences</xsl:text>
                                                                            </fo:block>
                                                                        </fo:block>
                                                                    </fo:table-cell>
                                                                </fo:table-row>
                                                            </fo:table-body>
                                                        </fo:table>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                            <fo:table-column column-width="60pt"/>
                                                            <fo:table-column/>
                                                            <fo:table-body>
                                                                <fo:table-row>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block/>
                                                                    </fo:table-cell>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block>
                                                                            <fo:block>
                                                                                <xsl:for-each select="/TAMPSummaryReport/DetailedAssessment/RiskContextAssessment">
                                                                                    <xsl:variable name="RiskContextAssessment" select="."/>
                                                                                    <fo:block>
                                                                                        <fo:block>
                                                                                            <fo:block>
                                                                                                <fo:inline font-weight="bold">
                                                                                                    <xsl:value-of select="@RiskContextAssessment.Title"/>
                                                                                                </fo:inline>
                                                                                            </fo:block>
                                                                                            <fo:block>
                                                                                                <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                                                    <fo:table-column column-width="30pt"/>
                                                                                                    <fo:table-column column-width="25%"/>
                                                                                                    <fo:table-column/>
                                                                                                    <fo:table-body>
                                                                                                        <fo:table-row>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block/>
                                                                                                            </fo:table-cell>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block>
                                                                                                                    <fo:block>
                                                                                                                        <xsl:text>Consequence Category</xsl:text>
                                                                                                                    </fo:block>
                                                                                                                </fo:block>
                                                                                                            </fo:table-cell>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block>
                                                                                                                    <fo:block>
                                                                                                                        <xsl:value-of select="@ConsequenceCategory.Name"/>
                                                                                                                    </fo:block>
                                                                                                                </fo:block>
                                                                                                            </fo:table-cell>
                                                                                                        </fo:table-row>
                                                                                                        <fo:table-row>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block/>
                                                                                                            </fo:table-cell>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block/>
                                                                                                            </fo:table-cell>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block/>
                                                                                                            </fo:table-cell>
                                                                                                        </fo:table-row>
                                                                                                    </fo:table-body>
                                                                                                </fo:table>
                                                                                            </fo:block>
                                                                                        </fo:block>
                                                                                    </fo:block>
                                                                                </xsl:for-each>
                                                                            </fo:block>
                                                                        </fo:block>
                                                                    </fo:table-cell>
                                                                </fo:table-row>
                                                            </fo:table-body>
                                                        </fo:table>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <fo:inline font-family="Arial" font-weight="bold">
                                                                    <xsl:text>Hazards and Risks</xsl:text>
                                                                </fo:inline>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                            <fo:block>
                                                                <xsl:text>The hazard and risk data is presented in the following tables.  The data is grouped by hazard context.</xsl:text>
                                                            </fo:block>
                                                        </fo:block>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <xsl:text> </xsl:text>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                            <fo:table-column column-width="30pt"/>
                                                            <fo:table-column/>
                                                            <fo:table-body>
                                                                <fo:table-row>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block/>
                                                                    </fo:table-cell>
                                                                    <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                        <fo:block>
                                                                            <fo:block>
                                                                                <xsl:for-each select="/TAMPSummaryReport/DetailedAssessment/HazardContextAssessment">
                                                                                    <xsl:variable name="HazardContextAssessment1" select="."/>
                                                                                    <fo:block>
                                                                                        <fo:block>
                                                                                            <fo:block>
                                                                                                <fo:inline font-weight="bold">Context of Use - 
                                                                                                    <xsl:value-of select="@HazardContextAssessment.Title"/>
                                                                                                </fo:inline>
                                                                                            </fo:block>
                                                                                            <fo:block>
                                                                                                <xsl:text> </xsl:text>
                                                                                            </fo:block>
                                                                                            <fo:block>
                                                                                                <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                                                    <fo:table-column column-width="30pt"/>
                                                                                                    <fo:table-column/>
                                                                                                    <fo:table-body>
                                                                                                        <fo:table-row>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block/>
                                                                                                            </fo:table-cell>
                                                                                                            <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                <fo:block>
                                                                                                                    <fo:block>
                                                                                                                        <xsl:for-each select="HazardAssessment">
                                                                                                                            <xsl:variable name="HazardAssessment1" select="."/>
                                                                                                                            <fo:block>
                                                                                                                                <fo:block>
                                                                                                                                    <fo:block>
                                                                                                                                        <fo:inline font-weight="bold" text-decoration="normal">Hazard - 
                                                                                                                                            <xsl:value-of select="@ClassFailureMode.PrimaryFailureMode"/>
                                                                                                                                        </fo:inline>
                                                                                                                                    </fo:block>
                                                                                                                                    <fo:block>
                                                                                                                                        <fo:inline font-weight="bold" text-decoration="normal">
                                                                                                                                            <fo:table width="100%" border-style="none" border-width="1pt" background-repeat="repeat">
                                                                                                                                                <fo:table-column column-width="30pt"/>
                                                                                                                                                <fo:table-column column-width="25%"/>
                                                                                                                                                <fo:table-column/>
                                                                                                                                                <fo:table-body>
                                                                                                                                                    <fo:table-row>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <fo:inline font-weight="normal">
                                                                                                                                                                        <xsl:text>Failure Mode Description</xsl:text>
                                                                                                                                                                    </fo:inline>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                    </fo:table-row>
                                                                                                                                                    <fo:table-row>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <fo:inline font-weight="normal">
                                                                                                                                                                        <xsl:text>Dominant energy causing failure</xsl:text>
                                                                                                                                                                    </fo:inline>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                    </fo:table-row>
                                                                                                                                                    <fo:table-row>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <fo:inline font-weight="normal">
                                                                                                                                                                        <xsl:text>Likelihood of Failure</xsl:text>
                                                                                                                                                                    </fo:inline>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <fo:inline font-weight="normal">
                                                                                                                                                                        <xsl:value-of select="@LikelihoodRating.Name"/> - 
                                                                                                                                                                        <xsl:value-of select="@LikelihoodRating.Definition"/>
                                                                                                                                                                    </fo:inline>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                    </fo:table-row>
                                                                                                                                                    <fo:table-row>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block/>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <fo:inline font-weight="normal">
                                                                                                                                                                        <xsl:text>Risks</xsl:text>
                                                                                                                                                                    </fo:inline>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                        <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                            <fo:block>
                                                                                                                                                                <fo:block>
                                                                                                                                                                    <xsl:for-each select="RiskAssessment">
                                                                                                                                                                        <xsl:variable name="RiskAssessment1" select="."/>
                                                                                                                                                                        <fo:block>
                                                                                                                                                                            <fo:block>
                                                                                                                                                                                <fo:block>Risk - 
                                                                                                                                                                                    <xsl:value-of select="@RiskAssessment.Title"/>
                                                                                                                                                                                </fo:block>
                                                                                                                                                                                <fo:block>
                                                                                                                                                                                    <xsl:text> </xsl:text>
                                                                                                                                                                                </fo:block>
                                                                                                                                                                                <fo:block>
                                                                                                                                                                                    <fo:table width="100%" border-style="none" border-width="2pt" background-repeat="repeat">
                                                                                                                                                                                        <fo:table-column column-width="4%"/>
                                                                                                                                                                                        <fo:table-column column-width="25%"/>
                                                                                                                                                                                        <fo:table-column/>
                                                                                                                                                                                        <fo:table-body>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Description</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Consequence Category</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:value-of select="@ConsequenceCategory"/>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Exposure</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:value-of select="@RiskAssessment.Exposure"/>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="before">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Likelihood</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:value-of select="@RiskLikelihood.Name"/> - 
                                                                                                                                                                                                                <xsl:value-of select="@RiskLikelihood.Definition"/>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Severity</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:value-of select="@Severity"/>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:text>Risk Index</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <fo:inline font-weight="normal">
                                                                                                                                                                                                                <xsl:value-of select="@HRI"/> (
                                                                                                                                                                                                                <xsl:value-of select="@RiskRating.Name"/>
                                                                                                                                                                                                                <xsl:text>)</xsl:text>
                                                                                                                                                                                                            </fo:inline>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                            <fo:table-row>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block/>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <xsl:text> </xsl:text>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                                <fo:table-cell border-style="none" border-width="2pt" background-repeat="repeat" display-align="center">
                                                                                                                                                                                                    <fo:block>
                                                                                                                                                                                                        <fo:block>
                                                                                                                                                                                                            <xsl:text> </xsl:text>
                                                                                                                                                                                                        </fo:block>
                                                                                                                                                                                                    </fo:block>
                                                                                                                                                                                                </fo:table-cell>
                                                                                                                                                                                            </fo:table-row>
                                                                                                                                                                                        </fo:table-body>
                                                                                                                                                                                    </fo:table>
                                                                                                                                                                                </fo:block>
                                                                                                                                                                            </fo:block>
                                                                                                                                                                        </fo:block>
                                                                                                                                                                    </xsl:for-each>
                                                                                                                                                                </fo:block>
                                                                                                                                                            </fo:block>
                                                                                                                                                        </fo:table-cell>
                                                                                                                                                    </fo:table-row>
                                                                                                                                                </fo:table-body>
                                                                                                                                            </fo:table>
                                                                                                                                        </fo:inline>
                                                                                                                                    </fo:block>
                                                                                                                                </fo:block>
                                                                                                                            </fo:block>
                                                                                                                        </xsl:for-each>
                                                                                                                    </fo:block>
                                                                                                                </fo:block>
                                                                                                            </fo:table-cell>
                                                                                                        </fo:table-row>
                                                                                                    </fo:table-body>
                                                                                                </fo:table>
                                                                                            </fo:block>
                                                                                        </fo:block>
                                                                                    </fo:block>
                                                                                </xsl:for-each>
                                                                            </fo:block>
                                                                        </fo:block>
                                                                    </fo:table-cell>
                                                                </fo:table-row>
                                                            </fo:table-body>
                                                        </fo:table>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt">
                                                        <fo:block>
                                                            <fo:block>
                                                                <xsl:text> </xsl:text>
                                                            </fo:block>
                                                        </fo:block>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Arial" font-size="11pt" font-weight="bold">
                                                        <xsl:text>MPMI Assessment</xsl:text>
                                                    </fo:inline>
                                                </fo:block>
                                                <fo:block>
                                                    <xsl:text> </xsl:text>
                                                </fo:block>
                                                <fo:block>
                                                    <fo:inline font-family="Times New Roman" font-size="11pt" font-weight="normal">
                                                        <xsl:text>Based on the preceeding analysis, this item was determined to </xsl:text>
                                                        <xsl:choose>
                                                            <xsl:when test="/TAMPSummaryReport/ProjectItem/MPMIAssessment/@IsMPMI = 'Yes'">
                                                                <fo:block>
                                                                    <fo:block>
                                                                        <xsl:text>be a </xsl:text>
                                                                        <fo:inline font-weight="bold">
                                                                            <xsl:text>MANDATORY PLANNED MAINTENANCE ITEM</xsl:text>
                                                                        </fo:inline>.  This assessment is based on the worst risk which has a Hazard Risk Index of 
                                                                        <xsl:value-of select="/TAMPSummaryReport/ProjectItem/MPMIAssessment/@WorstHRI"/>
                                                                        <xsl:text>.</xsl:text>
                                                                    </fo:block>
                                                                </fo:block>
                                                            </xsl:when>
                                                            <xsl:otherwise>
                                                                <fo:block>
                                                                    <fo:block>
                                                                        <xsl:text>NOT be a Mandatory Planned Maintenance Item.</xsl:text>
                                                                    </fo:block>
                                                                </fo:block>
                                                            </xsl:otherwise>
                                                        </xsl:choose>
                                                    </fo:inline>
                                                </fo:block>
                                            </fo:block>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <fo:block>
                                                <fo:block>
                                                    <xsl:text>The determination of this coarse assessment was that </xsl:text>
                                                    <fo:inline font-weight="bold">
                                                        <xsl:text>a detailed assessment was not required</xsl:text>
                                                    </fo:inline>
                                                    <xsl:text>.  </xsl:text>
                                                    <fo:inline font-weight="bold">
                                                        <xsl:text>This item is NOT a MANDATORY PLANNED MAINTENANCE ITEM.</xsl:text>
                                                    </fo:inline>
                                                </fo:block>
                                            </fo:block>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </fo:inline>
                            </fo:block>
                        </fo:block>
                    </fo:block>
                </fo:flow>
            </fo:page-sequence>
        </fo:root>
    </xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2007. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="..\..\..\Robert.Enchelmaier\My Documents\TAMPReportByCapability.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="renderx" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="" ><advancedProp name="sInitialMode" value=""/><advancedProp name="bXsltOneIsOkay" value="true"/><advancedProp name="bSchemaAware" value="true"/><advancedProp name="bXml11" value="false"/><advancedProp name="iValidation" value="0"/><advancedProp name="bExtensions" value="true"/><advancedProp name="iWhitespace" value="0"/><advancedProp name="sInitialTemplate" value=""/><advancedProp name="bTinyTree" value="true"/><advancedProp name="bWarnings" value="true"/><advancedProp name="bUseDTD" value="false"/><advancedProp name="iErrorHandling" value="fatal"/></scenario></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->