Thursday, December 23, 2010

Two Simple Ways to XSL an RSS Feed

There are two really common methods to format an XSL stylesheet for an RSS feed. They both do the same thing but in different ways.

Either of these methods could be used as a default XSL stylesheet that works for most RSS feeds on the net.

Method 1:


Method 2:
NOTE: with this method, you can easily drop an xsl:if type statement inside the xsl:for-each.

No comments:

Post a Comment