<?xml version='1.0'?>
<!--
  Converts a recipe in WDUL recipe format to HTML
  Author: Leon C. Glover III
  Contact: lglover@wdul.com
  History: written 1/5/2007
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="wdulrecipe">
    <html>
	<head><title><xsl:value-of select="head/title"/></title>
	</head>
	<body>
        <xsl:apply-templates />
	</body>
    </html>
  </xsl:template>

  <xsl:template match="title">
    <DIV font-size="20pt" color="blue">
      <H1 ALIGN="center"><font color="#0000FF"><xsl:apply-templates/></font>
      </H1>
    </DIV>
  </xsl:template>

  <xsl:template match="infosource">
    <p><xsl:apply-templates />
    </p>
  </xsl:template>

  <xsl:template match="version">
  </xsl:template>

  <xsl:template match="preptime">
  </xsl:template>

  <xsl:template match="yield">
  </xsl:template>

  <xsl:template match="description">
    <p><xsl:apply-templates />
    </p>
  </xsl:template>

  <xsl:template match="version">
  </xsl:template>

  <xsl:template match="ingredients">
    <ul>
      <xsl:apply-templates select="ing"/>
    </ul>	
  </xsl:template>

  <xsl:template match="ingredient">
    <li>
      <xsl:apply-templates />
    </li>
  </xsl:template>

  <xsl:template match="directions">
    <ol>
      <xsl:apply-templates select="step"/>
    </ol>	
  </xsl:template>

  <xsl:template match="step">
    <li>
      <xsl:apply-templates />
    </li>
  </xsl:template>

</xsl:stylesheet>