<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>

  <!--
    This is the identity template - it will produce a copy of 
    any node that it matches (and it will match all nodes in the
    input document, unless its overridden by other templates in
    this document).
  -->

  <xsl:template match="node()|@*">			<!-- match any node or attribute -->
    <xsl:copy>
      <xsl:apply-templates select="node()|@*"/>		<!-- apply matching template if any --> 
    </xsl:copy>
  </xsl:template>

  <xsl:template match="html">
    <html>
      <!-- Begin standard header -->
      <table style="border: solid thin black">
        <tr>
          <td><a href="mammoth.html">Visit the Mammoth zone!</a> - </td>
          <td><a href="play.html">Play Pteranodon Poker</a></td>
        </tr>
      </table>
      <!-- End standard header -->
   
      <!-- 
        Apply templates to everything inside the body - in this case, it will 
        be the identity template since there are no others defined in the file.
      -->

      <xsl:apply-templates />

      <!-- Begin standard footer -->
      <hr/>
      Copyright 2003 DinosaurOrg.
      <!-- End standard footer -->

    </html>
 </xsl:template>

</xsl:stylesheet>