aboutsummaryrefslogtreecommitdiff
path: root/make.xsl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-04 21:31:20 +0200
committerAdrian Kummerlaender2014-09-04 21:31:20 +0200
commit1921be28cc94764b2bd8c26e76d7171440b926ab (patch)
tree41daa20bb94bd2782e5e4871697fe31fe90f3a71 /make.xsl
parent4ba1e1585033643d4c656d5962f12b2a3fdbfb9e (diff)
downloadblog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar.gz
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar.bz2
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar.lz
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar.xz
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.tar.zst
blog.kummerlaender.eu-1921be28cc94764b2bd8c26e76d7171440b926ab.zip
Moved generation stage stylesheets into "detail" folder
* they are read by FunctionReadFile to and passed to FunctionGenerate as a DOM tree to execute them as if they where located in the parent directory ** this is required so they behave as expected without requiring all paths to be absolute * this change was implemented to make it clear that "make.xsl" is the main generation stylesheet ** additionally this further separates the framework implementation from the site-specific stylesheets and contents
Diffstat (limited to 'make.xsl')
-rw-r--r--make.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/make.xsl b/make.xsl
index 4b932a7..5df1514 100644
--- a/make.xsl
+++ b/make.xsl
@@ -23,7 +23,7 @@
<xsl:copy-of select="InputXSLT:generate(
$input,
- string($transformation)
+ InputXSLT:read-file(string($transformation))/self::file/node()
)/self::generation/node()"/>
</xsl:template>
@@ -40,27 +40,27 @@
<xsl:variable name="plan_source">
<xsl:call-template name="generate">
<xsl:with-param name="input" select="$list_source"/>
- <xsl:with-param name="transformation">list.xsl</xsl:with-param>
+ <xsl:with-param name="transformation">detail/list.xsl</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="process_source">
<xsl:call-template name="generate">
<xsl:with-param name="input" select="$plan_source"/>
- <xsl:with-param name="transformation">plan.xsl</xsl:with-param>
+ <xsl:with-param name="transformation">detail/plan.xsl</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="summarize_source">
<xsl:call-template name="generate">
<xsl:with-param name="input" select="$process_source"/>
- <xsl:with-param name="transformation">process.xsl</xsl:with-param>
+ <xsl:with-param name="transformation">detail/process.xsl</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:call-template name="generate">
<xsl:with-param name="input" select="$summarize_source"/>
- <xsl:with-param name="transformation">summarize.xsl</xsl:with-param>
+ <xsl:with-param name="transformation">detail/summarize.xsl</xsl:with-param>
</xsl:call-template>
</xsl:template>