Index: trunk/recipe.html.xsl
===================================================================
--- trunk/recipe.html.xsl	(revision 4)
+++ trunk/recipe.html.xsl	(revision 4)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsl:stylesheet version="1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:recipe="http://xmlns.grim.ath.cx/recipe"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:template match="recipe:recipe">
+    <html>
+      <head>
+        <xsl:apply-templates select="title" mode="head"/>
+      </head>
+      <body class="hRecipe">
+        <xsl:apply-templates/>
+      </body>
+    </html>
+  </xsl:template>
+
+  <xsl:template match="recipe:title" mode="head">
+    <title><xsl:value-of select="."/></title>
+  </xsl:template>
+
+  <xsl:template match="recipe:title">
+    <h1 class="fn"><xsl:value-of select="."/></h1>
+  </xsl:template>
+
+  <xsl:template match="recipe:ingredients">
+    <ul>
+      <xsl:apply-templates/>
+    </ul>
+  </xsl:template>
+
+  <xsl:template match="recipe:ingredient">
+    <li class="ingredient"><xsl:value-of select="."/></li>
+  </xsl:template>
+
+  <xsl:template match="recipe:note">
+    <div style="margin-left:1em; font-size: 90%"><xsl:value-of select="."/></div>
+  </xsl:template>
+
+  <xsl:template match="recipe:para">
+    <p>
+      <xsl:value-of select="."/>
+    </p>
+  </xsl:template>
+
+</xsl:stylesheet>
Index: trunk/recipe.xsl
===================================================================
--- trunk/recipe.xsl	(revision 3)
+++ trunk/recipe.xsl	(revision 4)
@@ -3,4 +3,5 @@
 <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:recipe="http://xmlns.grim.ath.cx/recipe"
   xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
@@ -12,5 +13,5 @@
   <xsl:variable name="width" select="substring-after($size, 'x')"/>
 
-  <xsl:template match="recipe">
+  <xsl:template match="recipe:recipe">
     <fo:root font-family="DejaVuSerif" font-size="10pt">
       <fo:layout-master-set>
@@ -28,5 +29,5 @@
   </xsl:template>
 
-  <xsl:template match="title">
+  <xsl:template match="recipe:title">
     <fo:block margin-bottom=".5em" font-weight="bold">
       <xsl:value-of select="."/>
@@ -34,5 +35,5 @@
   </xsl:template>
 
-  <xsl:template match="ingredients">
+  <xsl:template match="recipe:ingredients">
     <fo:block margin-bottom=".5em">
       <xsl:apply-templates/>
@@ -40,13 +41,13 @@
   </xsl:template>
 
-  <xsl:template match="ingredient">
+  <xsl:template match="recipe:ingredient">
     <fo:block line-height="1.25"><xsl:value-of select="."/></fo:block>
   </xsl:template>
 
-  <xsl:template match="note">
+  <xsl:template match="recipe:note">
     <fo:block line-height="1.25" margin-left="1em" font-size="90%"><xsl:value-of select="."/></fo:block>
   </xsl:template>
 
-  <xsl:template match="para">
+  <xsl:template match="recipe:para">
     <fo:block margin-bottom=".5em">
       <xsl:value-of select="."/>
Index: trunk/recipe2xml
===================================================================
--- trunk/recipe2xml	(revision 3)
+++ trunk/recipe2xml	(revision 4)
@@ -2,7 +2,9 @@
 use strict;
 
+#TODO: look at this existing XML format: http://www.happy-monkey.net/recipebook/doc/author-tutorial.html
+
 $/ = '';
 
-print "<recipe>\n";
+print qq{<recipe xmlns="http://xmlns.grim.ath.cx/recipe">\n};
 while (<>) {
     chomp;
@@ -37,5 +39,5 @@
 	s/(\d)x/$1⨯/g;
 	# temperature
-	s/(\d)\s*deg.(\s*F)?/$1℉/g;
+	s/(\d)\s*deg(\.|rees)(\s*F)?/$1℉/g;
 	# fractions
 	s{1/3}{⅓}g;
