<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:output
method="xml"
encoding="iso-8859-1" />
<xsl:template match="Recipe">
<html>
<head>
<title>
<xsl:value-of select="Recipe/Title" />
</title>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="Recipe/Title">
<h1>
<xsl:apply-templates />
</h1>
</xsl:template>
<xsl:template match="Recipe/Ingredients">
<h2>Ingredients</h2>
<ul>
<xsl:for-each select="Item">
<li>
<xsl:apply-templates />
</li>
</xsl:for-each>
</ul>
</xsl:template>
<xsl:template match="Recipe/CookingInstructions">
<h2>Cooking Instructions</h2>
<p>
<xsl:apply-templates />
</p>
</xsl:template>
<xsl:template match="Recipe/ServingInstructions">
<h2>Serving Instructions</h2>
<p>
<xsl:apply-templates />
</p>
</xsl:template>
</xsl:stylesheet>