diff options
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.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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> |