<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/rss">
<html>
<head>
<link href="" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="logo">
<h1 title="Torna alla home page del Comune"><xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="channel/link" />
</xsl:attribute>
<xsl:value-of select="channel/title" />
</xsl:element></h1>
</div>
<div class="corpo">
<div class="titolo">
<h2><xsl:value-of select="channel/description" /></h2>
</div>
<dl>
<xsl:for-each select="channel/item">
<dd>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link"/>
</xsl:attribute>
<xsl:value-of select="title"/>
</xsl:element>
</dd>
<dt>
<xsl:value-of select="description" disable-output-escaping="yes"/>
</dt>
</xsl:for-each>
</dl>
</div>
<div id="piedipagina">
© <xsl:value-of select="channel/copyright" />
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
while the rss file looks like this:
<item>
<title>SUBSONICA GRATIS x 5</title>
<link>http://www.comune.torino.it/infogio/omaggi/</link>
<description>I Subsonica concludono il loro "Terrestre tour" al Mazda Palace di Torino sabato 15 ottobre 2005. <strong>Venerdì 14 ottobre alle ore 15</strong> saranno in palio <strong>5 biglietti omaggio</strong> per il concerto del giorno seguente. Per vincere un biglietto occorre rispondere esattamente (e rapidamente) ad un quiz.</description>
</item>
Thank you very much for your attention and help.
p.s. I tried to post to mulberrytech list but I had the same problem.
Rob
_______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
