aboutsummaryrefslogtreecommitdiff
path: root/source/01_files
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-21 17:13:43 +0200
committerAdrian Kummerlaender2014-07-21 17:13:43 +0200
commit9e26e5d35fcfc7c052295efff072577f9fb0d4f4 (patch)
tree31de9ce4a288999ead727f266b5a85efdb593ab0 /source/01_files
parent1bc72443aeb488966b596323817c6b95e8d196ac (diff)
downloadblog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar.gz
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar.bz2
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar.lz
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar.xz
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.tar.zst
blog.kummerlaender.eu-9e26e5d35fcfc7c052295efff072577f9fb0d4f4.zip
Based file source transformation on the datasource template
Diffstat (limited to 'source/01_files')
-rw-r--r--source/01_files/source.xsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/01_files/source.xsl b/source/01_files/source.xsl
index d13e3bd..6b177f7 100644
--- a/source/01_files/source.xsl
+++ b/source/01_files/source.xsl
@@ -14,6 +14,8 @@
indent="yes"
/>
+<xsl:include href="[utility/datasource.xsl]"/>
+
<xsl:variable name="meta">
<datasource type="main"/>
<target mode="plain" value="source.xml"/>
@@ -40,12 +42,10 @@
</xsl:for-each>
</xsl:template>
-<xsl:template match="/">
- <datasource>
- <xsl:call-template name="list_source">
- <xsl:with-param name="base">[source/00_content]</xsl:with-param>
- </xsl:call-template>
- </datasource>
+<xsl:template match="datasource">
+ <xsl:call-template name="list_source">
+ <xsl:with-param name="base">[source/00_content]</xsl:with-param>
+ </xsl:call-template>
</xsl:template>
</xsl:stylesheet>