<?xml version="1.0"?>

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp   "&#160;">
]>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="direcciones">	
	<html>
	<head>
		<title><xsl:value-of select="tema"/></title>
	</head>
	<body bgcolor="#800080" link="#808000" vlink="#808000" alink="#808000">
		<a name="top"/>
		<center>
		<xsl:apply-templates select="tema"/>
		<table border="1" width="575" cellpadding="5" cellspacing="5">
			<tr>
				<td bgcolor="#ffffff">
					<xsl:apply-templates select="intro"/>
					<xsl:apply-templates select="direccion"/>
				</td>
			</tr>
		</table>
		</center>
	</body>
	</html>

</xsl:template>


<xsl:template match="tema">
	<p>
		<b>
		<font size="5" face="Verdana" color="#ffffff">
		<xsl:apply-templates/>
		</font>
		</b>
	</p>
</xsl:template>

<xsl:template match="intro">
	<p>
	<font size="2" face="Verdana">
		<xsl:apply-templates/>
	</font>
	</p>
</xsl:template>

<xsl:template match="direccion">
	<div class="direccion">
		<p>
		<font size="2" face="Verdana">
		<xsl:apply-templates select="titulo"/><br/>
		<xsl:apply-templates select="url"/>
		</font>
		</p>
		
		
	</div>
</xsl:template>



<xsl:template match="titulo">
	<b>
		<xsl:number level="any" from="direcciones" format="1"/>. 
		<xsl:apply-templates/>
	</b>
</xsl:template>

<xsl:template match="url">
	<xsl:element name="A">
		<xsl:attribute name="HREF"><xsl:value-of select="."/></xsl:attribute>
		<xsl:apply-templates/>
	</xsl:element>
</xsl:template>

<xsl:template match="descripcion">
	<table width="100%">
	<tr>
	<td width="20">&nbsp;</td>
	<td>
	<p>
		<font size="2" face="Verdana">
		<i>
		<xsl:apply-templates/>
		</i>	
		</font>
	</p>
	</td>
	</tr>
	</table>
</xsl:template>

</xsl:stylesheet>