You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
577 B

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<xsl:for-each select="rss/channel">
<h1>
<xsl:value-of select="title"/>
</h1>
<p>
<xsl:value-of select="description"/>
</p>
<xsl:for-each select="item">
<h2><xsl:value-of select="title"/></h2>
<time><xsl:value-of select="pubDate"/></time>
<xsl:value-of select="description" disable-output-escaping="yes"/>
</xsl:for-each>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>