ref: ae153891bc9365a47b3c74cd314dd12762e96aae
dir: /style.xsl/
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" exclude-result-prefixes="atom" > <xsl:template match="/"> <html> <body> <section> <xsl:apply-templates select="atom:feed" /> <xsl:apply-templates select="atom:feed/atom:entry" /> </section> </body> </html> </xsl:template> <xsl:template match="atom:feed"> <header style="margin-bottom:80px;"> <h1><xsl:value-of select="atom:title"/></h1> <p>Last updated: <xsl:value-of select="atom:updated"/></p> </header> </xsl:template> <xsl:template match="atom:entry"> <article style="border:solid;border-width:1px 0 0 0;"> <header> <h2><xsl:value-of select="atom:title"/></h2> <p><xsl:value-of select="atom:updated"/><br/> Author: <xsl:value-of select="atom:author/atom:name"/></p> </header> <p><xsl:value-of select="atom:content" disable-output-escaping="yes"/></p> </article> </xsl:template> </xsl:stylesheet>