<?xml version="1.0" ?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">

  <xsl:output method="html"/>

  <xsl:param name="box.foreground">black</xsl:param> 
  <xsl:param name="box.background">white</xsl:param> 
  <xsl:param name="box.border">3</xsl:param> 
  <xsl:param name="title.foreground">black</xsl:param> 
  <xsl:param name="title.background">white</xsl:param> 
  <xsl:param name="title.foreground.mouseover">white</xsl:param> 
  <xsl:param name="title.background.mouseover">black</xsl:param> 
  <xsl:param name="title.font.family">Helvetica, Arial, sansserif</xsl:param> 
  <xsl:param name="title.font.size">12</xsl:param> 
  <xsl:param name="title.font.style">bold</xsl:param> 
  <xsl:param name="item.foreground">black</xsl:param> 
  <xsl:param name="item.background">white</xsl:param> 
  <xsl:param name="item.foreground.mouseover">white</xsl:param> 
  <xsl:param name="item.background.mouseover">black</xsl:param> 
  <xsl:param name="item.font.family">Times, serif</xsl:param> 
  <xsl:param name="item.font.size">10</xsl:param> 
  <xsl:param name="item.font.style">italic</xsl:param> 
  
  <xsl:template match="/">
    <HTML><HEAD><STYLE TYPE="text/css">
	.box { color: <xsl:value-of select="$box.foreground"/>;
	       background-color: <xsl:value-of select="$box.background"/>;
	}
	A.title:link { color: <xsl:value-of select="$title.foreground"/>;
	       background-color: <xsl:value-of select="$title.background"/>;
		   font-family: <xsl:value-of select="$title.font.family"/>;
		   font-size: <xsl:value-of select="$title.font.size"/>;
		   font-weight: <xsl:value-of select="$title.font.style"/>;
	}
	A.item:link { color: <xsl:value-of select="$item.foreground"/>;
	       background-color: <xsl:value-of select="$item.background"/>;
		   font-family: <xsl:value-of select="$item.font.family"/>;
		   font-size: <xsl:value-of select="$item.font.size"/>;
		   font-weight: <xsl:value-of select="$item.font.style"/>;
	}
	A.title:hover { color: <xsl:value-of select="$title.foreground.mouseover"/>;
	}
	A.item:hover { color: <xsl:value-of select="$item.foreground.mouseover"/>;
	}
	</STYLE></HEAD><BODY><TABLE CLASS="box">
      <xsl:attribute name="BORDER">
        <xsl:value-of select="$box.border"/>
      </xsl:attribute>
      <xsl:apply-templates/>
    </TABLE></BODY></HTML>
  </xsl:template>

  <xsl:template match="channel">
    <TR><TH><A CLASS="title">
      <xsl:attribute name="HREF">
        <xsl:value-of select="link"/>
      </xsl:attribute>
      <xsl:value-of select="title"/>
      </A></TH></TR>
  </xsl:template>

  <xsl:template match="item">
    <TR><TD><A CLASS="item">
      <xsl:attribute name="HREF">
        <xsl:value-of select="link"/>
      </xsl:attribute>
      <xsl:value-of select="title"/>
      </A></TD></TR>
  </xsl:template>

  <xsl:template match="text()"/>

</xsl:stylesheet>
