Skip to content

Instantly share code, notes, and snippets.

@nils-werner
Created September 3, 2011 11:16
Show Gist options
  • Save nils-werner/1191029 to your computer and use it in GitHub Desktop.
Save nils-werner/1191029 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../utilities/master.xsl"/>
<xsl:template match="data">
<div class="butterfly"></div>
<div class="main">
<xsl:apply-templates select="ingredients-all-entries/entry" />
</div>
<xsl:call-template name="products-featured" />
<xsl:call-template name="pagination">
<xsl:with-param name="pagination-element" select="//ingredients-all-entries/pagination" />
<xsl:with-param name="url" select="'/section/?p=$'" />
</xsl:call-template>
</xsl:template>
<xsl:template match="//philosophie/entry">
<div class="entry">
<div class="leaf"></div>
<h4><xsl:value-of select="point" /> — <span><xsl:value-of select="subheader" /></span></h4>
<div>
<xsl:value-of select="content" disable-output-escaping="yes" />
</div>
</div>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment