>- see footer for list info -<
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:output method="html" indent="yes" />
        <xsl:template match="/">
                <table>
                        <tr>
                                <th>Title</th>
                                <th>Description</th>
                                <th>Date</th>
                        </tr>
                        <xsl:for-each select="rss/channel/item">
                                <tr>
                                        <td><xsl:value-of select="title"/></td>
                                        <td><xsl:value-of 
select="description"/></td>
                                        <td><xsl:value-of 
select="pubdate"/></td>
                                </tr>
                        </xsl:for-each>
                </table>
        </xsl:template>
</xsl:transform>

On Tue, Feb 26, 2008 at 12:36 PM, Gordon Burns
<[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
>  Does anyone have a simple XSL stle sheet example for an RSS feed .
>
>  One that displays the data in a table.  To have one that works will
>  be a big help.  I have done something stupid and can not get this part 
> correct.
>
>  Any help apprecaited.
>
>
>  <xsl:for-each select="event">
>      <tr>
>        <td><xsl:value-of select="title"/></td>
>        <td><xsl:value-of select="description"/></td>
>           <td><xsl:value-of select="pubdate"/></td>
>      </tr>
>      </xsl:for-each>
>
>  Regards
>
>  Gordon
>
>
>  _______________________________________________
>
>  For details on ALL mailing lists and for joining or leaving lists, go to 
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
>  --
>  CFDeveloper Sponsors:-
>  >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>  >- Lists hosted by www.Gradwell.com -<
>  >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>



-- 
Simon Baynes
www.simonbaynes.com
LinkedIn profile:- http://www.linkedin.com/in/simonbaynes

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to