<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 
	<xsl:output method="html"/>
	<xsl:template match="/">
		<style>
		#main
		{
			font-family: verdana, arial, sans-serif;
			font-size: 0.75em;
		}
		a:hover
		{
			color: red;
		}
		#main h1
		{
			margin : 0px;
			background-color : #FFFFFF;
			height: 60px;
			padding : 3px;
			border-bottom : 1px solid #666;
			font-size : 1.2em;
		}
		</style>
		<xsl:apply-templates select="rss"/>
	</xsl:template>
	<xsl:template match="rss">
		<div id="main">
			<xsl:apply-templates select="channel"/>
		</div>
	</xsl:template>
	<xsl:template match="channel">
		<h1>
			<img src="/img/logo_praca_pl.gif" border="0" hspace="10" vspace="0" align="left"/>
			<a href="{link}" target="_blank" title="{description}">
				<b><xsl:value-of select="title"/></b>
			</a>
			<br/>
			<xsl:value-of select="description"/>
			<br/>
		</h1>
		<br/>
		<ul>
			<xsl:apply-templates select="item"/>
		</ul>
	</xsl:template>
	<xsl:template match="item">
		<li>
			<a href="{link}" target="_blank" title="{title}">
				<b><xsl:value-of select="title"/></b>
			</a>
			<br/>
			<xsl:value-of select="description" disable-output-escaping="yes"/>
		</li>
		<br/>
	</xsl:template>
</xsl:stylesheet>
