<br />
            <br />
            <p>
               CutOff slice  RFQ +
               <xsl:value-of select="root/cutoff" />
            </p>
            <table border="1" cellpadding="10" cellspacing="0">
               <tr>
                  <th>Rank</th>
                  <th>Counterparty</th>
                  <th>Solve For Field</th>
                  <th>Solve For Value</th>
                  <th>Status</th>
                  <th>Comments</th>
                  <th>Reply Version</th>
                  <th>Request Sent At</th>
                  <th>Response Received At</th>
               </tr>
               <xsl:for-each select="root/QuoteList/Quote">
                  <xsl:sort select="EPD_Remark2" data-type="number" order="ascending" />
                  <xsl:sort select="SeqNo" data-type="number" order="ascending" />
                  <xsl:sort select="Version" data-type="number" order="descending" />
                  <xsl:choose>
                     <xsl:when test="SeqNo = '1' and Result != ''">
                        <tr style="background-color:#ffff00;">
                           <td align="center">
                              <xsl:value-of select="SeqNo" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="PP_Code" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="ER_SolveFor" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Result" />
                           </td>
                           <td align="center">Reply Ok</td>
                           <td align="center">
                              <xsl:value-of select="IssuerComments" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Version" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Request_At" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Response_At" />
                           </td>
                        </tr>
                     </xsl:when>
                     <xsl:when test="Version = '0'">
                        <tr style="background-color:#b0cfee;">
                           <td align="center" />
                           <td align="center">
                              <xsl:value-of select="PP_Code" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="ER_SolveFor" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Result" />
                           </td>
                           <td align="center">Response not received</td>
                           <td align="center">
                              <xsl:value-of select="IssuerComments" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Version" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Request_At" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Response_At" />
                           </td>
                        </tr>
                     </xsl:when>
                     <xsl:when test="SeqNo = '100000' and Version != '0'">
                        <tr style="background-color:#fed8b1;">
                           <td align="center" />
                           <td align="center">
                              <xsl:value-of select="PP_Code" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="ER_SolveFor" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Result" />
                           </td>
                           <!--<td align="center">Reply Ok</td>-->
						   <td align="center">Reply received after Cut-Off</td>
                           <td align="center">
                              <xsl:value-of select="IssuerComments" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Version" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Request_At" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Response_At" />
                           </td>
                        </tr>
                     </xsl:when>
                     <xsl:when test="SeqNo = '90000' and Version != '0'">
                        <tr>
                           <td align="center" />
                           <td align="center">
                              <xsl:value-of select="PP_Code" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="ER_SolveFor" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Result" />
                           </td>
                           <!--<td align="center">Reply Ok</td>-->
						   <td align="center">Quote Rejected</td>
                           <td align="center">
                              <xsl:value-of select="IssuerComments" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Version" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Request_At" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Response_At" />
                           </td>
                        </tr>
                     </xsl:when>
						<xsl:when test="Version != '0'">
                        <tr>
                           <td align="center">
							   <xsl:value-of select="SeqNo" />
						   </td>
                           <td align="center">
                              <xsl:value-of select="PP_Code" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="ER_SolveFor" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Result" />
                           </td>
                           <td align="center">Reply Ok</td>
                            
						   <td align="center">
                              <xsl:value-of select="IssuerComments" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="Version" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Request_At" />
                           </td>
                           <td align="center">
                              <xsl:value-of select="EPD_Quote_Response_At" />
                           </td>
                        </tr>
                     </xsl:when>
                  </xsl:choose>
               </xsl:for-each>
            </table>
         </body>
      </html>
   </xsl:template>
</xsl:stylesheet>