<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

<xsl:template match="Recipe">
  <HTML>
    <HEAD>
      <TITLE>
        <xsl:value-of select="Name"/>
      </TITLE>
    </HEAD>
    <BODY>
      <H3>
        <xsl:value-of select="Name"/>
      </H3>
      <U>
        <xsl:value-of select="Description"/>
      </U>
      <xsl:apply-templates/>
    </BODY>
  </HTML>
</xsl:template>

<xsl:template match="Ingredients">
  <H4>Ingredients</H4>
  <TABLE BORDER="1">
    <TR BGCOLOR="#308030"><TH>Qty</TH><TH>Units</TH><TH>Item</TH></TR>
    <xsl:for-each select="Ingredient">
      <TR>
          <TD><xsl:value-of select="Qty"/></TD>
          <TD><xsl:value-of select="Qty/@unit"/></TD>
          <TD><xsl:value-of select="Item"/></TD>
      </TR>
    </xsl:for-each>
  </TABLE>
</xsl:template>

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

<xsl:template match="Step">
  <LI><xsl:value-of select="."/></LI>
</xsl:template>

</xsl:stylesheet>