<?xml version="1.0"?>

<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8"/>

<xsl:template match="article">
<HTML>
<xsl:comment>This file is automatically generated. Do not edit!</xsl:comment>
<HEAD>
<STYLE type="text/css" media="all">@import url( jpfood-ch.css );</STYLE>
<TITLE><xsl:value-of select="articleinfo/title"/></TITLE>
</HEAD>
<BODY>
<A NAME="TOP"></A>

<DIV CLASS="Header">
<H1><xsl:value-of select="articleinfo/title"/></H1>
</DIV>

<DIV CLASS="Content">

<DIV CLASS="Toc">
<xsl:for-each select="sect1">
<DIV CLASS="TocItem">
<A HREF="#{@id}"><xsl:value-of select="title"/></A>
</DIV>
</xsl:for-each>
</DIV>

<xsl:apply-templates/>
</DIV>

<DIV CLASS="BottomBox">
<DIV CLASS="Spylog">
<xsl:text disable-output-escaping="yes">
&lt;!-- SpyLOG f:0211 --&gt;
&lt;script language="javascript"&gt;&lt;!--
Mu="u3781.58.spylog.com";Md=document;Mnv=navigator;Mp=0;
Md.cookie="b=b";Mc=0;if(Md.cookie)Mc=1;Mrn=Math.random();
Mn=(Mnv.appName.substring(0,2)=="Mi")?0:1;Mt=(new Date()).getTimezoneOffset();
Mz="p="+Mp+"&amp;rn="+Mrn+"&amp;c="+Mc+"&amp;t="+Mt;
if(self!=top){Mfr=1;}else{Mfr=0;}Msl="1.0";
//--&gt;&lt;/script&gt;&lt;script language="javascript1.1"&gt;&lt;!--
Mpl="";Msl="1.1";Mj = (Mnv.javaEnabled()?"Y":"N");Mz+='&amp;j='+Mj;
//--&gt;&lt;/script&gt;&lt;script language="javascript1.2"&gt;&lt;!-- 
Msl="1.2";Ms=screen;Mpx=(Mn==0)?Ms.colorDepth:Ms.pixelDepth;
Mz+="&amp;wh="+Ms.width+'x'+Ms.height+"&amp;px="+Mpx;
//--&gt;&lt;/script&gt;&lt;script language="javascript1.3"&gt;&lt;!--
Msl="1.3";//--&gt;&lt;/script&gt;&lt;script language="javascript"&gt;&lt;!--
My="";My+="&lt;a href='http://"+Mu+"/cnt?cid=378158&amp;f=3&amp;p="+Mp+"&amp;rn="+Mrn+"' target='_blank'&gt;";
My+="&lt;img src='http://"+Mu+"/cnt?cid=378158&amp;"+Mz+"&amp;sl="+Msl+"&amp;r="+escape(Md.referrer)+"&amp;fr="+Mfr+"&amp;pg="+escape(window.location.href);
My+="' border=0 width=88 height=31 alt='SpyLOG'&gt;";
My+="&lt;/a&gt;";Md.write(My);//--&gt;&lt;/script&gt;&lt;noscript&gt;
&lt;a href="http://u3781.58.spylog.com/cnt?cid=378158&amp;f=3&amp;p=0" target="_blank"&gt;
&lt;img src="http://u3781.58.spylog.com/cnt?cid=378158&amp;p=0" alt='SpyLOG' border='0' width=88 height=31 &gt;
&lt;/a&gt;&lt;/noscript&gt;
&lt;!-- SpyLOG --&gt;
</xsl:text>
</DIV>

Last modification: <xsl:value-of select="articleinfo/date"/>.
<xsl:text disable-output-escaping="yes">&amp;copy;</xsl:text> 2002, 2003
<A HREF="http://sinyagin.pp.ru">Stanislav Sinyagin</A>
&lt;<A HREF="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</A>&gt;

<DIV CLASS="HowItsMade">
This page was generated from <A HREF="jpfood-ch.xml">this</A> XML file
using <A HREF="jpfood-ch.xsl">this</A> XSLT template, and displayed
with <A HREF="jpfood-ch.css">this</A> CSS stylesheet.
</DIV>
</DIV>

</BODY>
</HTML>
</xsl:template>

<xsl:template match="articleinfo">
</xsl:template>

<xsl:template match="sect1">
<DIV CLASS="Sect1">
<xsl:if test="@id"><A NAME="{@id}"/></xsl:if>
<xsl:apply-templates/>
<xsl:if test="not(@notoplink)">
<DIV CLASS="BackToTop"><A HREF="#TOP">Back to the Top</A></DIV>
</xsl:if>
</DIV>
</xsl:template>

<xsl:template match="sect1/title">
<H2><xsl:value-of select="."/></H2>
</xsl:template>

<xsl:template match="para">
<P><xsl:apply-templates/></P>
</xsl:template>

<xsl:template match="itemizedlist">
<UL><xsl:apply-templates/></UL>
</xsl:template>

<xsl:template match="listitem">
<LI>
<xsl:apply-templates/>
</LI>
</xsl:template>

<xsl:template match="ulink">
<A HREF="{@url}"><xsl:apply-templates/></A>
</xsl:template>

<xsl:template match="nickname">
<SPAN CLASS="Nickname"><xsl:apply-templates/></SPAN>
</xsl:template>

<xsl:template match="area">
<DIV CLASS="Area">
<DIV CLASS="AreaName"><xsl:value-of select="@name"/></DIV>
<DIV CLASS="AreaBody">
<xsl:apply-templates/>
</DIV>
</DIV>
</xsl:template>

<xsl:template match="enterprise">
<DIV CLASS="Enterprise">
<xsl:if test="@id"><A NAME="{@id}"/></xsl:if>
<DIV CLASS="EnterpriseName"><xsl:value-of select="title"/></DIV>
<xsl:for-each select="location">
<DIV CLASS="Location">
<DIV CLASS="LocationDetails">
<DIV CLASS="Address">
  <xsl:value-of select="address/street"/>,
  <xsl:value-of select="address/city"/>
</DIV>
<DIV CLASS="ContactInfo">
  <xsl:for-each select="telephone">
    <xsl:value-of select="@mod"/>:
    <SPAN CLASS="Telephone"><xsl:value-of select="."/></SPAN>
    <xsl:text disable-output-escaping="yes">
      &amp;nbsp;&amp;nbsp;&amp;nbsp;
    </xsl:text>
  </xsl:for-each>
</DIV>
</DIV>
<DIV CLASS="Rating">
  Rating: <SPAN CLASS="RatingValue"><xsl:value-of select="rating"/></SPAN>
</DIV>
</DIV>
</xsl:for-each>
<xsl:apply-templates select="para"/>
</DIV>
</xsl:template>

</xsl:transform>

