<?xml version="1.0"?>
<xsl:stylesheet version="1.0" 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="PERIODIC_TABLE">
      <html>
        <head><title>The Elements</title></head>
        <body>
          <table>
            <tr><xsl:apply-templates select="ATOM"/></tr>
          </table>
        </body>
      </html>
    </xsl:template>

    <xsl:template match="ATOM">
      <td><xsl:number value="ATOMIC_NUMBER"/></td>
      <td><xsl:value-of select="NAME"/></td>
    </xsl:template>

</xsl:stylesheet>
