<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!-- set the output properties -->
<xsl:output method="html"/>

<xsl:template match="/">
<html>
  <head><title>Breakfast-Menu: Demo XML and XSLT</title></head>
  <body style="font-family:Arial, helvetica, sans-serif; font-size:12pt;
        background-color:#EEEEEE;">
    <xsl:for-each select="breakfast-menu/food">
    <xsl:sort select="name"/>
      <div style="background-color:teal; color:white; padding:4px">
        <p><span style="font-weight:bold; color:yellow;">
          <xsl:value-of select="name"/>
        </span>
        -
        <xsl:value-of select="price"/>
      </p></div>
      <div style="margin-left:20px; margin-bottom:1em; font-size:10pt;">
        <xsl:value-of select="description"/>
        <p>(<span style="font-style:italic;"><xsl:value-of select="calories"/>
          calories per serving)
        </span>
       </p>
      </div>
    </xsl:for-each>
  </body>
</html>
</xsl:template>
</xsl:stylesheet>

