Re: [xslt] Problem in the improving of a rss feed

This the xsl file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:template match="/rss">
    <link href="" rel="stylesheet" type="text/css" />
    <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:value-of select="channel/title" />
    <div class="corpo">
        <div class="titolo">
            <h2><xsl:value-of select="channel/description" /></h2>
            <xsl:for-each select="channel/item">
                    <xsl:element name="a">
                        <xsl:attribute name="href">
                            <xsl:value-of select="link"/>
                        <xsl:value-of select="title"/>
                 <xsl:value-of select="description" disable-output-escaping="yes"/>       
    <div id="piedipagina">
© <xsl:value-of select="channel/copyright" />

while the rss file looks like this:

<title>SUBSONICA GRATIS x 5</title>
<description>I Subsonica concludono il loro &quot;Terrestre tour&quot; al Mazda Palace di Torino sabato 15 ottobre 2005. &lt;strong&gt;Venerdì 14 ottobre alle ore 15&lt;/strong&gt; saranno in palio &lt;strong&gt;5 biglietti omaggio&lt;/strong&gt; per il concerto del giorno seguente. Per vincere un biglietto occorre rispondere esattamente (e rapidamente) ad un quiz.</description>

Thank you very much for your attention and help.

p.s. I tried to post to mulberrytech list but I had the same problem.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]