diff options
Restructured to enable automatic datasources
* i.e. first the content source is mapped
* after that every transformation in 'template/datasource/' is called using the content map as input
** the output of the datasource transformations is stored in 'datasource/'
Diffstat (limited to 'template/output/page.xsl')
-rw-r--r-- | template/output/page.xsl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/template/output/page.xsl b/template/output/page.xsl new file mode 100644 index 0000000..a271e4a --- /dev/null +++ b/template/output/page.xsl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xalan="http://xml.apache.org/xalan" + xmlns:InputXSLT="function.inputxslt.application" + exclude-result-prefixes="xalan InputXSLT" +> + +<xsl:include href="master.xsl"/> +<xsl:include href="[utility/date-time.xsl]"/> + +<xsl:template name="title-text"> + <xsl:value-of select="/entry/h1"/> @ /home/adrian +</xsl:template> + +<xsl:template match="data/entry"> + <div class="last article"> + <xsl:copy-of select="./*"/> + </div> +</xsl:template> + +</xsl:stylesheet> |