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

  <!-- 
    In IE 6 and Netscape 6, this will import all of the template matches
    defined in the stylesheet named by the "href" tag. They can be
    overridden in this stylesheet.

    This won't work in IE 5 and IE 5.5. Instead, you must remove the
    import and instead just paste in the templates from the other
    stylesheet directly.
  -->
  <xsl:import href="4xml2html.xsl" />

  <xsl:template match="dinosaur">
    <!-- 
      This creates an img tag with a src depending on the name of the dinosaur
      Example: <img align="right" ... src="Stegosaurus.jpg"></img>
    -->
    <img align="right" width="160" height="120">
      <xsl:attribute name="src">
        <xsl:value-of select="@name"/>.jpg
      </xsl:attribute>
    </img>

    <!--
      This causes the template matching dinosaur that was imported from the
      parent stylesheet to be applied - producing the heading and text that 
      would appear before.
    -->
    <xsl:apply-imports />

  </xsl:template>

</xsl:stylesheet>