<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> 
 
 <xsl:template match="/">
   <html>
   <body>
<center>
   <h2>Cookbook Displayed as a Table</h2>
</center>
<p>
</p>
 
   <table border="1">
     <tr bgcolor="lightblue">
       <th>Title</th>
       <th>Instructions</th>
     </tr>
     <xsl:for-each select="cookbook/recipe">
     <tr>
       <td bgcolor="lightyellow" 
width="30%"><xsl:value-of select="title"/></td>
       <td><xsl:value-of select="instructions"/></td>
     </tr>
     </xsl:for-each>
   </table>
   </body>
   </html>
 </xsl:template>
 
 </xsl:stylesheet>