Example 15-5: IE5-specific XSL stylesheet for a site navigation bar

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html><head><title>XML Central</title></head> 
 <body>
  <center>
   <table border="0" cellpadding="10">
    <tr>
     <xsl:for-each select="website/categories/category">
      <td>
       <img border="0" align="absmiddle">
        <xsl:attribute name="src"><xsl:value-of select="icon"/></xsl:attribute>
       </img>
       <a>
        <xsl:attribute name="href"><xsl:value-of select="url"/></xsl:attribute>
        <b><xsl:value-of select="name"/></b>
       </a>
      </td>
     </xsl:for-each>
    </tr>
   </table>
  </center>
 </body>
</html>
</xsl:template>
</xsl:stylesheet>