<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
  <body>
    <h1>Books published before 2000</h1>
    <table border="1">
      <tr bgcolor="#33CCFF">
        <th align="center">Title</th>
        <th align="center">Author</th>
      </tr>
    <xsl:for-each select="CATALOGUE/BOOK">
    <xsl:if test="YEAR &lt; 2000">
      <tr>
        <td><xsl:value-of select="TITLE"/></td>
        <td><xsl:value-of select="AUTHOR"/></td>
      </tr>
    </xsl:if>
    </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>




 
