Extract rss items.xsl

From Stack Overflow
Jump to: navigation, search
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:output method="xml"/>
<xsl:template match="/">
    <xsl:apply-templates select="/rss/channel/item" />
</xsl:template>
<xsl:template match="item">
    <xsl:copy-of select="." />
</xsl:template>
</xsl:stylesheet>
Personal tools