| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="utf-8"?>
- <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
- <xsl:template match="/">
- <: component('Header', {
- title_select => $title_select,
- route => $route,
- lang => $lang,
- no_doctype => 1,
- }) :>
- <a>
- <xsl:attribute name="href">
- <xsl:value-of select="rss/channel/link"/>
- </xsl:attribute>
- Back to Site →
- </a>
- <h3>RSS for Posts at <xsl:value-of select="rss/channel/description"/>:</h3>
- <xsl:for-each select="rss/channel/item">
- <div>
- <div>
- <a>
- <xsl:attribute name="href">
- <xsl:value-of select="link"/>
- </xsl:attribute>
- <xsl:value-of select="title"/>
- </a>
- </div>
- <div>
- Published on
- <xsl:value-of select="substring(pubDate, 0, 11)" />
- By
- <xsl:value-of select="author" />
- </div>
- <div>
- <xsl:value-of select="description" />
- </div>
- </div>
- </xsl:for-each>
- <: component('Footer') :>
- </xsl:template>
- </xsl:stylesheet>
|