<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:h="http://www.w3.org/1999/xhtml"> 

 <xsl:template match="/">
  <html>
   <font face="Calibri">
    <body>
     <font size="6" color="#333333"><p align="center"><b>Release Notes for <xsl:value-of select="/releasenotes/@productname"/></b></p></font>

     <xsl:apply-templates />

    </body>
   </font>
  </html>
 </xsl:template>

 <xsl:template match="releasenotes">
  <xsl:for-each select="version">
   <font size="5" color="#333333"><p><b><xsl:value-of select="/releasenotes/@productname"/> <xsl:value-of select="releaseversion"/> (<xsl:value-of select="releasedate"/>)</b></p></font>
   <table border="1" width="100%">
    <tr bgcolor="#FFFFCC">
     <td width="30" align="center"><font color="#000000"><b>ID</b></font></td>
     <td width="120" align="center"><font color="#000000"><b>Type</b></font></td>
     <td align="center"><font color="#000000"><b>Description</b></font></td>
    </tr>
   </table>
   <xsl:for-each select="wi">
    <table border="1" width="100%">
     <tr>
      <td width="30" align="center"><xsl:value-of select="wiid"/></td>
      <td width="120" align="center"><xsl:value-of select="witype"/></td>
      <td><xsl:value-of select="widesc"/></td>
     </tr>
    </table>
   </xsl:for-each>
   <br/><br/>
  </xsl:for-each>
 </xsl:template>
  
</xsl:stylesheet>


