diff options
Based file source transformation on the datasource template
Diffstat (limited to 'source')
-rw-r--r-- | source/01_files/source.xsl | 12 |
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> |